62 565
Assignments Done
99%
Successfully Done
In June 2018

Answer to Question #39671 in C++ for Nor Syafiqah

Question #39671
I have a question on doing a feedback vote using array by one user and the display the output.it consist of 1-Excellent 2-Good 3-Moderate 4-Poor..
Expert's answer
Answer on Question#39671- Programming, C++

#include <iostream>
#include <string>
using namespace std;

//1-Excellent 2-Good 3-Moderate 4-Poor..

void main()
{

string str[]={"1-Excellent","2-Good", "3-Moderate", "4-Poor"};

for(int i=0; i<4;i++)
{
cout<<str[i]<<endl;
}

cin.get();cin.get();
}

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions