0

# Write a structure algorithm pseudocode to calculate the square of a number inputted your algorithm should accept a number find the square and then print the square amount.?

Updated: 4/28/2022

Wiki User

13y ago

Begin

Set Sqt=pow(a,1/2)

If (a<0) then

Print:" square root imaginary"

Else

If (a=0) then

Print:"square root zero"

Else

Print:"square root real"

Endif

Endif

End

Wiki User

13y ago

Earn +20 pts
Q: Write a structure algorithm pseudocode to calculate the square of a number inputted your algorithm should accept a number find the square and then print the square amount.?
Submit
Still have questions?
Related questions

### What is the flowchart and algorithm of a program that will convert an inputted number in Fahrenheit to its equivalent measure in Celsius?

burat na flow chart

### How is data inputted into the tv?

how is data inputted into the tv digital

### How is data inputted into the TV technology?

how is data inputted into the tv digital

### How is data inputted into the phone technology?

how is data inputted intocellphone technology

### How is data inputted into TV technology?

how is data inputted into the tv digital

### Is inputted a correct word?

Inputted is currect when it refers to entering data into a computer system.

### How do you write algorithm to find perimeter of rectangle?

The exact code would depend on the programming language you are using, but the basic principle would be: 1. have the width and height inputted to the program 2. double both and add together 3. output the result

### What kind of energy is inputted in an ecosystem?

The kind of energy that is inputted in an ecosystem is solar energy. Whether indirectly or directly, all living things use sunlight to maintain life.

it isnt

### How is data inputted into emails?

data imputed by typing using a keyboard.

### Define average product?

Average product defined as- dividing total production of inputted variables by number of inputted variables. For example- average product of 3,5,7,9 is-(3+5+7+9)/4= 6.

programs