subject

// This program assigns values to two variables // and performs mathematical operations with them public class DebugFour1 { public static main(String args[]) { int x = 5 int y = 8; System. out. println("adding " + x + y); int z = 19; System. out. println("subtracting " + z - y); System. out. println("dividing " + z / x); System. out. println("multiplying " + x / z); } }

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
The “rule of 72” is used to approximate the time required for prices to double due to inflation. if the inflation rate is r%, then the rule of 72 estimates that prices will double in 72/r years. for instance, at an inflation rate of 6%, prices double in about 72/6 or 12 years. write a program to test the accuracy of this rule. for each interest rate from 1% to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (assume prices increase at the end of each year.)
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
question
Computers and Technology, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
You know the right answer?
// This program assigns values to two variables // and performs mathematical operations with them pu...
Questions
question
Mathematics, 18.03.2021 08:10
question
Mathematics, 18.03.2021 08:10
question
Mathematics, 18.03.2021 08:10
question
English, 18.03.2021 08:10
question
Mathematics, 18.03.2021 08:10
Questions on the website: 13722367