The Fisrt Updated
This commit is contained in:
31
c.cpp
Normal file
31
c.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
|
||||
int A(int S);
|
||||
void B(int X,int Y);
|
||||
int C1(int X);
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
A(123);
|
||||
B(12,13);
|
||||
cout << C1(123) << endl;
|
||||
}
|
||||
int A(int S)
|
||||
{
|
||||
cout << S << endl;
|
||||
return 0;
|
||||
}
|
||||
void B(int X,int Y)
|
||||
{
|
||||
cout << X+Y << endl;
|
||||
cout << X-Y << endl;
|
||||
cout << X*Y << endl;
|
||||
cout << X/Y << endl;
|
||||
}
|
||||
int C1(int X)
|
||||
{
|
||||
return X;
|
||||
}
|
||||
Reference in New Issue
Block a user