problem based on setw, setf and unsetf – CSKC
Sign In

Search

Solved Problem #CPP#4321    siteicon   siteicon  

Problem Statement - problem based on setw, setf and unsetf

print the following table of temperature record ofย a patient properly using setw,setf,unsetf methods.

 

Readings   Values
-----------------
Morning     100.4
Afternoon    99.8
Evening      98.8

 

Solution

TC++ #4321

 

×

Ask AI About This Code

Default Prompt that is passed along with the code is given below, You can write your own prompt if you so desire.



×

Test CPP

Common Errors

  • Commonly learners forget that setf has a persistent behaviour unlike setw.


Suggested Filename(s): setwsetf.cpp



Share

Created: 15-May-2018 23:57 | Updated: 15-Sep-2018 15:55|