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

27th Jan 2020, 5:27 PM
Christian0972
2 Respostas
+ 2
Mihai Apostol Ok thanks
27th Jan 2020, 5:32 PM
Christian0972