//c++
#include <iostream>
using namespace std;
signed main() {
int x;
cin >> x;
if (x > 10)
x *= 5;
else
x -= 10;
cout << x;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
//c++
#include <iostream>
using namespace std;
signed main() {
int x;
cin >> x;
if (x > 10)
x *= 5;
else
x -= 10;
cout << x;
return 0;
}