Question
Draw a flowchart that reads 1 number as an input and calculates and prints the square of the number . b .Write an algorithm for
Draw a flowchart that reads 1 number as an input and calculates and prints the square of the number
. b .Write an algorithm for part a
. c. Consider that a program must get 10 numbers from input and calculate and print the square of each number. How would you modify your algorithm and your flow char from part a and b to accommodate this new condition?
d .Consider unlike part c, the number of inputs is not clear up front. Your program must get the first number and calculate and print its square. Then program asks user to keep going or quit the program. The program must follow the next step upon the answer of user. Draw a flowchart and write a pseudocode to solve this new condition
And I need answer for each question
thankyou
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