montrellgoodman2151 montrellgoodman2151
  • 31-07-2018
  • Computers and Technology
contestada

Write a program in pascal to find the area of a circle

Respuesta :

laphatizeme
laphatizeme laphatizeme
  • 01-08-2018

Program Area_Circle;

Uses Crt;

Const

Pi = 3.1416;

Var

Radius : Integer;

Area : Real;

Begin

Clrscr;

Writeln('Area of a Circle Solver');

Writeln;

Write('Enter the Radius of the Circle : ');

Readln(Radius);

Area := (Pi * Radius * Radius);

Writeln;

Writeln('The Area of the Circle is ' ,Area:8:2,'.');

Writeln;

Writeln('Program Executed');

Readln;

End.

Hope this helps!

Answer Link

Otras preguntas

find the value of the variable and YZ if Y is between X and Z XY=6b, YZ=8b, XZ=175
how do you write 314,207 in word form
Why was the government in Massachusetts Bay Colony the most radical in colonial America?
What is the numerical expression for 21 increased by 14
To have batting average over 0.500, how many hits in 45 times a bat would Raul and Karen need?
write a double fact for 2+3
what number is divisable by 96
What does the suffix mean in the word logical?
Which one of the following sentences contains a coordinating conjunction? A. Howard was brave, and he was strong. B. Bobby Jo keeps trying, although she'
Each group of three digits separated by commas in a multi digit number