0
The paint costs question on sololearn i am not able to pass all the test cases ..do check the code and correct me
#include <bits/stdc++.h> using namespace std; int main() { float paint; cin>>paint; float canvas=40; float sum=paint*5+canvas; float p=(10*sum)/100; cout<<ceil(round(sum+p)); return 0; }
2 odpowiedzi