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

-4(-8x -8) Simplify expression
Math Help Please Lots of points
Now that you have learned about Incan Law, complete and submit the following project. Read the newspaper article (below) about a court case and decision or find
Find the total amount of an investment if $1200 is invested at an interest rate of 3.5% compounded quarterly for 7 years.
Young children learn about social institutions from their families and when they go to school. This process of learning is called
A neighborhood group wants to build a new playground using donations from residents.
PLEASE HELP!?!?!?! List 7 reasons why the Jews are attacked by Germans?
the Soviet union placed nuclear missiles in cube near the capital of _____in the year of____.these missiles were about 200 miles from the American city of_____
High points please help IMMEDIATELYkayla wants to find the width, AB, of a river. she walks along the edge of the river 150 ft and marks point c. then she walk
A ball is thrown 125 meters upward and then falls the same distance back to Earth. Neglecting air resistance, its total time in the air is