0
Code Coach - Hovecraft
Hey - I'm confused. The problem says it is going to test for 4 or 5 different variables. So when I click "Run Code" what variable name is the program putting these in? https://code.sololearn.com/c6nc1CaeMtiC/
7 Respuestas
+ 6
You can use/define any variable name.
#ruby
inp= gets.chomp
+ 4
+ 3
You should remove the first cout statement that prints “Input:” because that will be counted as part of the output and it will be marked wrong because of it
+ 2
Your main issues were 10 hovercraft are built regardless of the sales and, as Kylie Scott pointed out, you must only output the information requested.
+ 1
You have to design code that takes input from the console and store that input in your own variable that you define
+ 1
Yep, I'm an idiot (or tired). I got all the difficult parts correct and missed an easy item. Thanks!
0
in that case, what am i doing wrong with my c++ here?
https://code.sololearn.com/c6nc1CaeMtiC/