31 lines
374 B
C++
31 lines
374 B
C++
#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;
|
|
} |