Write an algorithm that describes how to find the Square of one number and print the result. Using Flowchart algorithm

Algorithm: Finding the Square of a Number

Input:

A number (num)

Output:

The square of the number (num^2)

Steps:

1- Read the input number (num)

2- Calculate the square of the number (num^2)

3- Print the result (num^2)

4- Exit

Flowchart:

start -> [Read input number (num)] -> [Calculate num^2] -> [Print num^2] -> end

total answers (1)

start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.

Algorithm: Finding the Square of a Number

Input:

A number (num)

Output:

The square of the number (num^2)

Steps:

1- Read the input number (num)

2- Calculate the square of the number (num^2)

3- Print the result (num^2)

4- Exit

Flowchart:

start -> [Read input number (num)] -> [Calculate num^2] -> [Print num^2] -> end

need an explanation for this answer? contact us directly to get an explanation for this answer