1. Write a program that uses an array declaration statement to initialize the following numbers in an array slopes: 17.24, 25.63, 5.94, 33.92, 3.71, 32.84, 35.93, 18.24, 6.92. Your program should locate and display both the maximum and minimum.
2. Write C++ program to convert Celsius degrees to Fahrenheit. The program should request the starting Celsius value, the number of conversions to be made, and the increment between Celsius values. The display should have appropriate headings and list the Celsius value and the corresponding Fahrenheit value. Use the relationship:
Fahrenheit=(9.0/5.0)*Celsius+32.0
3. Write a C++ program that returns the fractional part of any user entered number. For example, if the number 256.879 is entered, the number 0.879 should be displayed. (Hint: Use an int cast). Enter, compile, and execute the program.
thanks!!! Godbless!
Can someone help me with my c++ program?
Is this your assignment? Sorry, you must solve it by yourself here. I can help you with 100% of coding.
I just give you an addition help by giving you C++ webs tutorial that I've learn for my C++
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/
Good Luck ;)
Reply:you must solve with your self
these programms are very easy
you must think more
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment