0

Help what is wrong with this code I can't run it

https://sololearn.com/compiler-playground/cda2eeHR4V34/?ref=app

10th Mar 2025, 10:45 AM
Md Azam
Md Azam - avatar
2 ответов
+ 2
Md Azam the program ran okay for me. I suppose this is the first time that you made a program in a console-based language on Sololearn that requires input. Sololearn runs your console-based program as a batch job on their server. It does not run interactively, therefore it must have all user inputs entered up front before it runs. Sololearn pops up the prompt that says "Looks like your program needs input. Split multiple inputs into separate lines." At this prompt it needs you to enter both values. Type them on separate lines by pressing the enter key between values, like this: 5 25 Then press the Submit button. You program will run, and the result will look like this: OUTPUT Enter Hours: Enter rate: Play: 125.0 You can see that it prints all the output without showing the input values. At least in this way it runs without error.
10th Mar 2025, 11:14 AM
Brian
Brian - avatar
0
Md Azam What problem are you facing? Code is running properly without any error.
10th Mar 2025, 11:02 AM
Gulshan Mahawar
Gulshan Mahawar - avatar