Place
your mouse in the areas below to see comments about the corresponding sections
of code
Code
/* Formatting and <iomanip.h> file: 4ex3.cpp (or used as 4ex3.appended) FALL 1998 ___________________________________ Jacob Y. Kazakia jyk0 September 28, 1998 Programming example 3 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
FIXED formats. DOUBLE PRECISION IS USED ( 8 bytes per number )
Algorithm: The functions: setiosflags, setw, setprecision are used to format the output