0
C language running problem
When is write code in C language and then run then there is the system demand for "put the input in separat" I don't understand what I do I put scanf("__") ; this type of input in there demand section but also the program is not run
7 ответов
+ 2
Pravesh Kumar ,
maybe you can link your code here, so that we can see what the issue is.
+ 1
In SoloLearn playground, for inputs they will ask you once, where for multiple inputs, you'll need to write those inputs in separate lines.
+ 1
The SoloLearn program is not very good at handling inputs. If you learn to compile these programs on your PC, you will see they work as desired.
In SoloLearn, you have to put all your inputs in the box before it runs the program. If your program requires three inputs, you'll just add all three inputs on a new line when the program starts.
one
two
three
Then run your program and it will read all those inputs. In a normal application on your computer, it will prompt and take input in a more normal fashion.
+ 1
Looks like Borland C, an ancient and obsolete compiler.
Corrections needed:
The clrscr() function is nonstandard. Remove it.
The return statement should not be assigned a value. Remove the = sign. (But keep the 0).
0
How I write
Can you give the syntax
0
This is my code can you help to run the code