-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewprogri.txt
45 lines (25 loc) · 856 Bytes
/
newprogri.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include<iostream>
using namespace std;
int main()
{
int inti;
cout<<"pls enter the intial value in double digits"<<endl;
cin>>inti;
int endA;
/////////////////////////////////////////////////////////////////////getting input from user with some conditions
if(inti<10)
{
cout<<"this value is not allowed plz read the first massage again carefully using your eyes";
}else
{
cout<<"pls enter the last value here"<<endl;
cin>>endA;
if(endA<=inti)
{
cout<<"the limit value should be greater than the initial value .i can not be equal or less then to the initial value ";
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//10 to 10000
//11//121//
}