Computer Science, asked by rom102mckoy, 10 months ago

how do you design a pesudo code that will sk the user for the radius of a circle and calculate an print the area using the following formula:area =3.142

Answers

Answered by ashirwad325
0

Answer:

r=float(input("enter the radius:"))

a=22/7

ar=a(r)**1/2

print("area is ",ar)

Answered by AskewTronics
0

The pesudo code for the above question is as follows:

Explanation:

Mssing information :

The above provided formula is a wrong formula. The correct formula to find the area of a circle is "\pi r^{2}".

pesudo code:

  • Start
  • Take the variable as radius and area.
  • Print the output as "enter the radius of the number".
  • Input radius.
  • Area =  22/7*radius*radius
  • Output the area value.
  • End.

Detailed Expalanation:

  • The pesudo code is in english language in the form of variable and the expression.
  • The above is a pesudo code which is written to find the area of a circle. The  radius and area is a variable.

Learn More:

  • Pesudo code : https://brainly.in/question/13095130

Similar questions