Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Ashoor Questions
555 Questions
(Financial application: calculate future investment value) Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula:
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
292
(Financial application: calculate interest) If you know the balance and the annual percentage interest rate, you can compute the interest on the next monthly payment using the following formula:
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
278
(Geometry: area of a triangle) Write a program that prompts the user to enter three points (x1, y1), (x2, y2), (x3, y3) of a triangle and displays its area. The formula for computing the area of a triangle is
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
322
(Print a table) Write a program that displays the following table. Cast floatingpoint numbers into integers
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
288
(Science: wind-chill temperature) How cold is it outside? The temperature alone is not enough to provide the answer
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
324
(Geometry: area of a hexagon) Write a program that prompts the user to enter the side of a hexagon and displays its area. The formula for computing the area of a hexagon is
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
293
(Geometry: distance of two points) Write a program that prompts the user to enter two points (x1, y1) and (x2, y2) and displays their distance between them. The formula for computing the distance is
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
307
(Health application: computing BMI) Body Mass Index (BMI) is a measure of health on weight
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
392
(Financial application: compound value) Suppose you save $100 each month into a savings account with the annual interest rate 5%. Thus, the monthly interest rate is 0.05/12 = 0.00417. After the first month, the value in the account becomes
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
270
(Physics: finding runway length) Given an airplane’s acceleration a and take-off speed v, you can compute the minimum runway length needed for an airplane to take off using the following formula:
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
551
(Population projection) Rewrite Programming Exercise 1.11 to prompt the user to enter the number of years and displays the population after the number of years. Use the hint in Programming Exercise 1.11 for this program. The population should be cast into an integer. Here is a sample run of the prog
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
397
(Science: calculating energy) Write a program that calculates the energy needed to heat water from an initial temperature to a final temperature. Your program should prompt the user to enter the amount of water in kilograms and the initial and final temperatures of the water. The formula to compute
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
351
(Physics: acceleration) Average acceleration is defined as the change of velocity divided by the time taken to make the change, as shown in the following formula:
Java programming
2022-06-03
Answers
30
Question
40
Followers
30
0
1
324
Total:
555
Previous
27
28
29
30
31
Next
Go