Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
31 changes: 31 additions & 0 deletions New Folder/calculator.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#include <bits/stdc++.h>
using namespace std;

int add(int a, int b)
{
return a + b;
}

int subtract(int a, int b)
{
return a - b;
}
int multiply(int a, int b)
{
return a * b;
}
int divide(int a, int b)
{
return a / b;
}

int main()
{
int a, b;
cin >> a >> b;
cout << add(a,b) << endl;
cout << subtract(a,b) << endl;
cout << multiply(a,b) << endl;
cout << divide(a,b) << endl;
return 0;
}
11 changes: 11 additions & 0 deletions New Folder/class.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <bits/stdc++.h>
using namespace std;



int main()
{
cout << "Hello, World!" << endl;
cout << "feature one" << endl;
return 0;
}