Accept dollar value and print the equivalent peso value. The program will convert dollar to peso having an exchange rate of 1 to 43.35

Prob.2 Create a program that will accept a temperature in Fahrenheit and print its equivalent temperature in Celsius. The formula for converting Fahrenheit to Celsius is C=5/9(F-32); where C is the temperature in Celsius and F is the temperature in Fahrenheit.

Prob.3 Accept integer values for the length of the adjacent and opposite sides of a right triangle and compute and print the value of the hypotenuse. The formula for computing the hypotenuse is C2=a2+b2.

5
answers
Last reply

More aboutgiuve code here

calmstateofmind

Not even a please??

...Sorry, but we don't do people's homework for them. If there's a specific question you have though, I'd be more than glad to help out.

Ijack

I think you are studying the wrong course if you can't even have a stab at these problems, jm06. Do yourself a favour and switch to something simpler to avoid future disappointment.