Question: IN java 2. Convert the algorithm into a java program. Your program should: a. Take two numbers (choose suitable variable types and meaningful variable names).

IN javaIN java 2. Convert the algorithm into a java program. Your program

2. Convert the algorithm into a java program. Your program should: a. Take two numbers (choose suitable variable types and meaningful variable names). b. Display a countdown of numbers, starting from the smaller of the two number, going up to the larger number. c. Display the sum of all these numbers. d. Using loops show a star chart of the sum in rows of 10 stars. For example, if the sum (step 2c) is 24, the star chart will have three lines: first two lines with 10 stars and the third line with 4 stars. ********** 3. Submit the .txt and .java files in BlackBoard (DO NOT submit the .class file). ample output: 1 5 Countdown: 1 2 3 4 5 The sum from 1 to 5 is: 15 10 3 Countdown: 3 4 5 6 7 8 9 10 The sum from 3 to 10 is: 52 59 Countdown: 5 6 7 8 9 The sum from 5 to 9 is: 35 The star chart: The star chart: The star chart: * * * * * * * * * *

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!