Text Manipulation and Output Formatting
Text Manipulation and Output Formatting
#include
#include
#include
#include
using namespace std;
int main()
{
string studentNames[10];
double GPA[10];
int i;
for(i=0;i<10;i++)
{
cout<<" Enter student name (last, first) : ";
getline (cin, studentNames[i]);
cin.clear(); //resets all flags
}
for(i=0;i<10;i++)
{
cout<<"n Enter GPA (##.##) : ";
cin>>GPA[i];
}
cout<<"-------------------------------------------"< cout<<" Student Nametttt GPA | "< cout<<"-----------------------------------------"< for(i=0;i<10;i++) { cout< } cout<<"n------------------------------------------"; return 0; }
Place an Order
Plagiarism Free!
Create an Account
Create an account at Top Tutor Online
- Allows you to track orders.
- Receive personal messages.
- Send messages to a tutor.
Post a Question/ Assignment
Post your specific assignment
- Tutors will be notified of your assignment.
- Review your question and include all the details.
- A payment Link will be sent to you.
Wait for your Answer!
Make payment and wait for your answer
- Make payment in accordance with the number of pages to be written.
- Wait for your Answer as a professional works on your paper.
- You will be notified when your Answer is ready.