+ 1
Why does this fail two of the tests in paint cost code coach?
#include <iostream> using namespace std; int main() { int paint,costnotax,tax,withtax; cin >> paint; costnotax = paint * 5 + 40; tax = costnotax * .10; withtax = costnotax + tax; cout << withtax; return 0; }
2 Answers
+ 5
Maybe this will help.
Use search bar.
https://www.sololearn.com/Discuss/2134536/?ref=app
https://www.sololearn.com/Discuss/2135825/?ref=app
https://www.sololearn.com/Discuss/2141757/?ref=app
+ 2
Mihai Apostol Ok thanks