EVESUNER9782 EVESUNER9782
  • 21-01-2020
  • Engineering
contestada

Write a single statement that prints outsideTemperature with 2 digits in the fraction

Respuesta :

Hashirriaz830
Hashirriaz830 Hashirriaz830
  • 22-01-2020

Answer:

outsideTemperature=108.90

Explanation:

#include <iostream>

#include <ios>

#include <iomanip>

using namespace std;

int main()

{

double outsideTemperature = 108.90;

/* print outside temperature  */

cout << setprecision(2) << fixed << outsideTemperature << endl;  

return 0;

}

Answer Link

Otras preguntas

What are three examples of cash transfer?
Describe how an organism becomes a fossil? HELP ME!!!!!!!!!!!
Rema is older than Ken. The difference if their ages is 12 and the sum if their ages is 50. Find the age if each.
Rema is older than Ken. The difference if their ages is 12 and the sum if their ages is 50. Find the age if each.
what organ absorbs excess water from undigested food prior to its release from the body as a solid waste
MESOPOTAMIA Besides land, what resources and acheivements made the city-states desirable to conquerors?
How do I simplify (3²)-³
Why is inter phase important to an organism?
why do the moon look a little bit different every night
How can I write a story about the doubles plus 2 fact 5+7=12.??