Pseudocodes
Pseudocodes
) Answer = (A+B+C)/Y
Start
Initialize all the needed variables.
Read values of A, B, C
Compute for sum of three variables (Sum = A + B + C)
Compute for average of three variables (Answer = sum / Y)
Write value of average
Stop
2.) Convert from Celsius to Fahrenheit. Multiply by 9, then divide by 5, then
Add 32.
Start
Initialize all the needed variables.
Read value of C, P, A,
Prompt the user to enter the number
Compute for the product of Fahrenheit (P= number*9)
Compute for the average of Fahrenheit (A=P/5)
Compute for the sum of the Fahrenheit (F=A+32)
Write values Fahrenheit
Stop
3.) Area of a circle (∏ r 2 )
Start
Initialize all needed variables.
Let pi = 3.14
Read the value of radius
Prompt the user to enter the radius
Compute for the area of the circle (area = pi * radius * radius)
Write the area of the circle
Stop
4.) Volume of Sphere ((4/3)∏r 3 )
START
Initialize all the value
Pi = 3.14149
Read the radius of the sphere, r
Prompt the user to enter the radius of the sphere
Compute for the volume of the sphere, V = (4.0/3.0) * Pi * r3
Write the volume of the sphere,
Stop
Start
Initialize all needed variables.
num1=0, num2=0, num3=0,
Read num1, num2. num3.
If num1 > num2, num3
Then big = num1
Else if Big = num2.
Else Big = num3
Write BIG