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

17th Aug 2020, 6:21 PM
Manthan Ambekar
Manthan Ambekar - avatar
2 Respuestas
17th Aug 2020, 7:42 PM
Julia Shabanova
Julia Shabanova - avatar
+ 1
18th Aug 2020, 5:36 AM
Manthan Ambekar
Manthan Ambekar - avatar