CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int paint;
cin>>paint;
int sum=ceil(round((paint*5+40)*1.1));
cout<<sum;
return 0;
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run