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

Is 3/4 and 3/8 equivalent fractions and why? Thanks
Is 3/4 and 3/8 equivalent fractions and why? Thanks
What is the name of Fe2O3
Math help! a miniproduct is the smallest possible product when multiplying a three digit number by a two digit number. Find the miniproduct using each of the di
What are the factors of 65. Like a factor tree.
How has the Pythagorean Theorem helped us through life?
How has the Pythagorean Theorem helped us through life?
What is 20% of $40.00 please help
What does Hajj mean?
Brian has 3 basketball cards and 5 baseball cards. What fraction of Brian's cards are baseball cards?