Search This Blog

Sunday, 23 August 2020

For loop ex1

 #include<iostream>

using namespace std;

int main()

{

int a , b , c;

cout<<"enter the number  a : "<<endl;

cin>>a;

cout<<"enter tne another number starter"<<endl;

cin>>b;

cout<<"enter the gretter number series that you have"<<endl;

cin>>c;

for(a>b;a<c;a++)

cout<<"value is : "<<a<<endl;

system("pause");

}


No comments:

Post a Comment

Search This Blog

Contact Form

Name

Email *

Message *

Popular Posts