Answer to Question #173072 in C++ for Vimal D

Question #173072

Display students details in the following format using manipulats


Rollno Name Marks average


------ --- ---- -------


1 Ram 490 98.17


2 Kala 450 96.23


1
Expert's answer
2021-03-18T13:27:52-0400
#include <iostream>
#include <iomanip>


using namespace std;


int main()
{
	cout << 1 << setw(7) << "Ram" << setw(5) << 490 << setw(8) << 98.17 << endl;
	cout << 2 << setw(7) << "Kala" << setw(5) << 450 << setw(8) << 96.23 << endl;
	return 0;
}

It is difficult to determine what exactly should be between the data distances, if you need to tweak a little, this is not a problem for me.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS