diff --git a/c b/c new file mode 100644 index 0000000..86f0c15 --- /dev/null +++ b/c @@ -0,0 +1,105 @@ +// #include + +// using namespace std; + +// int main() +// { +// int a=2; +// float b=3.5; +// char c='A'; +// double d=3.56789; +// cout<<"Hello World"<<"\n"; +// cin>>a; +// cout< +// using namespace std; + +// int main(){ +// int i=5; +// i>10 ? cout<<"Greater": cout<<"Smaller"; +// return 0; +// } + +// #include +// using namespace std; +// int main(){ +// int i=5; +// if(i>10){ +// cout<<"Greater"; +// } +// else +// cout<<"Smaller"; +// return 0; +//} + + +// #include +// using namespace std; +// int main() +// { +// int n, reverse=0, rem; +// cout<<"Enter a number: "; +// cin>>n; +// while(n!=0) +// { +// rem=n%10; +// reverse=reverse*10+rem; +// n/=10; +// } +// cout<<"Reversed Number: "< +// using namespace std; + +// int main(){ +// int i=21; +// switch(i){ +// case 10: cout<<"Value is 10"; +// break; +// case 21: cout<<"Value is 21"; +// break; +// default: cout<<"Error"; +// } + + +// return 0; +// } + + + + +// #include //CODING BLOCKS +// using namespace std; + +// int main() +// { +// int n, arr[1000]; +// cout<<"Enter value of n:"; +// cin>>n; +// return 0; +// } + + + + + + + + + + + + + + diff --git a/code b/code new file mode 100644 index 0000000..590c885 --- /dev/null +++ b/code @@ -0,0 +1,46 @@ +// #include + +// using namespace std; + +// int main() +// { +// int a=2; +// float b=3.5; +// char c='A'; +// double d=3.56789; +// cout<<"Hello World"<<"\n"; +// cin>>a; +// cout< +// using namespace std; + +// int main(){ +// int i=5; +// i>10 ? cout<<"Greater": cout<<"Smaller"; +// return 0; +// } + +// #include +// using namespace std; +// int main(){ +// int i=5; +// if(i>10){ +// cout<<"Greater"; +// } +// else +// cout<<"Smaller"; +// return 0; +//} + + +// #include +// using namespace std; +// int main() +// { diff --git a/cpp b/cpp new file mode 100644 index 0000000..7930cbf --- /dev/null +++ b/cpp @@ -0,0 +1,55 @@ +// #include + +// using namespace std; + +// int main() +// { +// int a=2; +// float b=3.5; +// char c='A'; +// double d=3.56789; +// cout<<"Hello World"<<"\n"; +// cin>>a; +// cout< +// using namespace std; + +// int main(){ +// int i=5; +// i>10 ? cout<<"Greater": cout<<"Smaller"; +// return 0; +// } + +// #include +// using namespace std; +// int main(){ +// int i=5; +// if(i>10){ +// cout<<"Greater"; +// } +// else +// cout<<"Smaller"; +// return 0; +//} + + +// #include +// using namespace std; +// int main() +// { + + + + + + + + +