Write a program to display integers from 100 to 250 using while loop

 
Write a program to display integers from 100 to 250 using while loop 

#include <iostream>
using namespace std;
int main(){
       int a = 101;
       while (a<=250){
              cout<< a<<endl;
              a++;
       }

       system("pause");
       return 0;
}

Comments