Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

3. what header files must be included in the following program? int mai…

Question

  1. what header files must be included in the following program? int main() { double amount = 89.7; cout << showpoint << fixed; cout << setw(8) << amount << endl; return 0; }

Explanation:

Brief Explanations

The iostream header is needed for cout. The iomanip header is required for showpoint, fixed, and setw manipulators.

Answer:

<iostream> and <iomanip>