0% found this document useful (0 votes)
4 views1 page

Programming Calculations and Conversions

The document outlines a series of programming tasks that involve mathematical calculations and conversions. It includes programs to compute the volume of a sphere, convert Celsius to Fahrenheit, exchange dollars to pesos, convert inches to centimeters, and find the circumference of a circle. Each task specifies the formula to be used and the necessary conversions.

Uploaded by

aisha
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Programming Calculations and Conversions

The document outlines a series of programming tasks that involve mathematical calculations and conversions. It includes programs to compute the volume of a sphere, convert Celsius to Fahrenheit, exchange dollars to pesos, convert inches to centimeters, and find the circumference of a circle. Each task specifies the formula to be used and the necessary conversions.

Uploaded by

aisha
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Algorithm and Flowchart

1. Create a program to compute the volume of a sphere. Use the formula: V = (4/3) *pi*3
where pi is equal to 3.1416 approximately. The r is the radius of sphere. Display the result.
2. Write a program the converts the input Celsius degree into its equivalent Fahrenheit
degree. Use the formula: F = (9/5) *C+32.
3. Write a program that converts the input dollar to its peso exchange rate equivalent.
Assume that the present exchange rate is 51.50 pesos against the dollar. Then display the
peso equivalent exchange rate.
4. Write a program that converts the input dollar to its peso exchange rate equivalent.
Assume that the present exchange rate is 51.50 pesos against the dollar. Then display the
peso equivalent exchange rate.
5. Write a program that converts an input inches) into its equivalent centimeters. Take note
that one inch is equivalent to 2.54cms.
6. Design a program to find the circumference of a circle. Use the formula: C=2 pie r , where
pie is approximately equivalent 3.1416.

You might also like