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

7th Oct 2024, 5:24 PM
Pravesh Kumar
Pravesh Kumar - avatar
7 ответов
+ 2
Pravesh Kumar , maybe you can link your code here, so that we can see what the issue is.
7th Oct 2024, 6:11 PM
Lothar
Lothar - avatar
+ 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.
7th Oct 2024, 5:34 PM
Shihan
Shihan - avatar
+ 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.
7th Oct 2024, 5:48 PM
Jerry Hobby
Jerry Hobby - avatar
+ 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).
7th Oct 2024, 10:43 PM
Brian
Brian - avatar
0
How I write Can you give the syntax
7th Oct 2024, 6:09 PM
Pravesh Kumar
Pravesh Kumar - avatar
0
This is my code can you help to run the code
7th Oct 2024, 7:29 PM
Pravesh Kumar
Pravesh Kumar - avatar