Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

milestone 1 #162

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Abhishek jha/even or odd.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include<iostream>
using namespace std;
int main()
{
int a;
cout<<"enter the number"<<endl;
cin>>a;
if(a/2==0)
{
cout<<"number is even";

}
else
cout<<"number is odd";
return 0;
}
20 changes: 20 additions & 0 deletions Abhishek jha/maximum.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include<iostream>
using namespace std;
int main()
{
int a,b;
cout<<"enter first number"<<endl;
cin>>a;
cout<<"enter second number"<<endl;
cin>>b;
if(a>b)
{
cout<<"greater numberis"<<a;
}

else
{
cout<<"greater number is "<<b;
}
return 0;
}
1 change: 1 addition & 0 deletions Abhishek jha/milestone 2/submissions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
submission
12 changes: 12 additions & 0 deletions Abhishek jha/multiplication.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include<iostream>
using namespace std;
int main()
{
float a,b;
cout<<"Enter the first number which you want to multiply "<<endl;
cin>>a;
cout<<"enter the second number"<<endl;
cin>>b;
cout<<"the product of two entered number is "<<endl<<a*b;
return 0;
}
19 changes: 19 additions & 0 deletions Abhishek jha/positive,negative and zero.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include<iostream>
using namespace std;
int main()
{
float a;
cout<<"enter the number"<<endl;
cin>>a;
if(a>0)
{
cout<<"the number is positive";
}
else if (a==0 )
{
cout<<" the number is zero";
}
else
cout<<"the number is negative";
return 0;
}
8 changes: 8 additions & 0 deletions Abhishek jha/welcome.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include<iostream>
using namespace std;
int main()
{
cout<<"Welcome to Girl Code It";
return 0;

}