Solved
Using C# Console Application to Convert Formulas
Posted on 2004-08-15
I am having problems writing the following program in C# Console Application.
How do I write a program that convert Celsius to Fahrenheit that will allow an user to input any temperature?
This is the formula:
Tf=()9/5*Tc)+32
Tc=temperature in Celsius
Tf=temperature in Fahrenheit
Write a program that convert Fahrenheit into Celsus with the following formula.
Tc=(5/9)*(Tf-32)
Tc=temperature in Celsius
Tf=temperature in Fahrenheit
Write a program to figure the area of a right triangle. Display the aea of the triangle.
The following formula:
Area=1/2ab
Write a program that will find the area of a circle.
Formula is the following:
Area=Pi * radius squared
Make a program that will find the volume of a sphere
The formula is the following:
Baseball radius=1.5 inches
Earth radius=6278km
Volume of a Sphere:
Volume=(4 * Pi/3)* radius cubed
Write a program that will calculate the volume of a cone. Using the following heights: 10, 20, 30 as check.
Using the following formula:
Volume=Pi*radius squared*height/3
Write a program on how long it would take the Concord to travel around the earth. Display how many hours it would take.
Hours traveled:
Ec=24,000 miles
Cs=1,100 mph
Hours=Ec/Cs
Ec=Earth Circumference
Cs=Concord Speed