in c++, use a do while to filter a score from 1-100.
#include <iostream>
#include <string>
#include <conio.h>
using namespace std;
//main function
int main()
{
int count=1;
//use a do while to filter a score from 1-100
do{
cout<<count<<"
";
count++;
}while(count!=101);
getch();//delay
return 0;
}
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!
Learn more about our help with Assignments:
C++