Files
PyBase/c.cpp
2026-01-25 13:54:16 +08:00

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;
}