๋ฌธ์ ๋งํฌ : https://codeup.kr/problemsetsol.php?psid=23
*1038๋ฒ
#include <iostream>
using namespace std;
int main(){
long long a, b;
cin >> a >> b;
cout << a+b;
}
*1039๋ฒ
#include <iostream>
using namespace std;
int main(){
long long a, b;
cin >> a >> b;
cout << a+b;
}
*1040๋ฒ
#include <iostream>
using namespace std;
int main(){
long long a;
cin >> a ;
cout << -a;
}
*1041๋ฒ
#include <iostream>
using namespace std;
int main(){
int a;
scanf("%c",&a);
printf("%c",a+1);
}
*1042๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
scanf("%d %d",&a, &b);
printf("%d",a/b);
}
*1043๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
scanf("%d %d",&a, &b);
printf("%d",a%b);
}
*1044๋ฒ
#include <iostream>
using namespace std;
int main(){
long long a;
cin >> a;
cout << a+1;
}
*1045๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a>>b;
cout << a+b << endl << a-b << endl << a*b << endl << a/b <<endl << a%b<< endl;
float a2 = a, b2 = b;
printf("%.2f", a2/b2);
}
*1046๋ฒ
#include <iostream>
using namespace std;
int main(){
float a, b, c;
cin >> a >> b >> c ;
cout << a + b + c << endl ;
printf("%.1f",(a+b+c)/3.0);
}