Q:

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

0

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

All Answers

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

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

total answers (1)

Similar questions


need a help?


find thousands of online teachers now