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

will mark brainliest pls answer
What scale factor was used to produce the image? A. 49 B. 18 C. 7 D. 1
What is the complete predicate of the sentence? prepare for the holiday prepare for the holiday by decorating their homes with symbols of springtime X decoratin
Miss Chandler bought a 25lb bag of dog food for $17.50. How much did it cost her per pound?
Vince borrows $900 to buy a couch. He will pay off the loan by paying 1.5% simple interest for 2 years. Vince incorrectly calculates the amount he will pay back
Which coordinate point below is the solution to the system of equations? A.) (-2, 1) B.) (0, 2) C.) (1, -2) D.) (0, -3)
Why do you think the Founding Fathers liked Montesquieu’s theory on separation of powers?
NEED ANSWER ASAP! Construct a quadratic function that has a vertex at (-2,3) and includes the value f(-1)=1.
1. Which of the following is a diatomic molecule? a. H2O b. F2 C. LICN d. Mg2SO4
What is x+67 when 67=r+8.483 and x=9? Btw that kid is not me, its my friend, at least i think he is