+ 2
Sample input : 126 126-50=76 76%50 = 26 but Correct answer is 24. Rethink logic.. For Code project : there expects only required answer, not less or more character on output. Your code prints "Bus..." "Enter how... : " 26 But expected output is just : 24
2nd Oct 2022, 4:07 PM
Jayakrishna 🇼🇳
+ 1
Yes. It works fine. You can save code in Sololearn and share link here.. Where are you trying this? As I said, if it is in code coach then comment your first 2 couts. Then check..
2nd Oct 2022, 6:01 PM
Jayakrishna 🇼🇳