diff --git a/100N.cpp b/100N.cpp new file mode 100644 index 0000000..c5bab1e --- /dev/null +++ b/100N.cpp @@ -0,0 +1,13 @@ +#include + +using namespace std; + +int main() +{ + static int i=1; + if (i<= 100) + { + cout< + +using namespace std; + +int main() +{ + int a; + cout<<"Enter the No. of Rows"<>a; + for ( int i=1; i<=a; i++) + { + int c; + c= a-i; + for (int j=1; j<=c; j++) + { + cout<<" "; + } + for (int k=0; k + +using namespace std; + +int main() +{ + /*int a; + cout<<"Enter a number to see either it is divisible by 5 and 11 or not.\n"; + cin>>a; + if (a%5) + { + (a%11)? cout<<"The number is neither divisible by 5 nor 11.\n" : cout<<"The Number is Only divisible by 11.\n"; + } + else + { + (a%11)? cout<<"The number is only divisible by 5.\n" : cout<<"The number is divisible by both 5 nor 11.\n"; + }*/ + int a,b,c; + cout<<"enter two number \n"; + cin>>a>>b; + cout<<"1. for addition\n 2. for substraction\n 3 for multiolication\n 4 for division\n"; + cin>>c; + switch(c) + { + case 1: + cout<<"add is "<