0

c program errors

why can't my program run on the sololearn compiler ( its a C program) and yet it runs when i run it on another compilers?

14th Sep 2018, 7:20 PM
Godana Emiru
Godana Emiru - avatar
7 Réponses
+ 6
Here it is https://code.sololearn.com/cincb8CaeFwE/?ref=app Removed system("CLS") Removed system("PAUSE") Removed return 0 that are inside if-else-if statements Removed getch() Added closing curly brace at the end
16th Sep 2018, 4:11 AM
blACk sh4d0w
blACk sh4d0w - avatar
+ 5
Show us your code
14th Sep 2018, 7:23 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 5
nope, CPG takes all inputs at one time but it will fulfill your need when you run it on another compiler
16th Sep 2018, 8:02 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 2
Godana Emiru it depends on compiler to compiler and there are some limitations also on codeplayground of sololearn..so, it's difficult to judge without actual code being shared
15th Sep 2018, 12:58 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
15th Sep 2018, 6:11 PM
Godana Emiru
Godana Emiru - avatar
+ 1
Ketan Lalcheta .. I have posted the code above.. ☝
15th Sep 2018, 6:13 PM
Godana Emiru
Godana Emiru - avatar
+ 1
nAutAxH AhmAd ... wow.. the code looks great.. I just wanted to ask whether it is possible for the code playground to allow you to enter the details systematically IE the three bidders, the deposits, expenses etc.. all at different intervals
16th Sep 2018, 7:35 PM
Godana Emiru
Godana Emiru - avatar