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

20x + 6 What is the constant? Someone please answer, I need this so I can be free and go on my phone again :(
help me ????? Caused a statement where neither the Allied nor the central powers could advance there's a machine gun, tank, trench warfare, u-boat, battleship c
Find the value of x.
prepare a postcard message to a friend who is abroad including your thrilling experience of camping/hiking
What is the first law of thermodynamics?​
Write the real number property used to justify the manipulation
How long will it take 2,000 to grow to 12,000 if it is invested at 6% compounded monthly?
How is the life expectancy index calculated ? ( class 10 )​
Can you please solve this I only have one more chance.Given A=52 and K=22 find D.Given A=361 and K=5 find C.Btw these are different problems using the same diag
Tim's family is visiting Emeryville. They plan to see a movie and then explore the town. The movie will cost the family $48, and parking costs $8 per hour. 1. H