Place
your mouse in the areas below to see comments about the corresponding sections
of code
Code
/* Formatting and <iomanip.h> file: 4ex2.cpp (or used as 4ex2.appended) FALL 1998 ___________________________________ Jacob Y. Kazakia jyk0 September 28, 1998 Programming example 2 of week 4 Recitation Instructor: J.Y.Kazakia Recitation Section 01 ___________________________________
Purpose: This program reads three numbers a, b, and c through
the keyboard and outputs them on the screen in various
SCIENTIFIC formats.
Algorithm: The functions: setiosflags, setw, setprecision are used to format output.