i have some trouble formatting output to the console.
my desired outcome: 14.44 (two decimal places)
i am writing a simple program that converts a fahrenheit temperature into a celsius temperature, but i cannot get the output to print the decimal places. i dont know how to use the 'setf' and the 'precision' functions...help...![]()



LinkBack URL
About LinkBacks




)