Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 java
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started