How can I return the answer in Sololearn's problems in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I return the answer in Sololearn's problems in C?

I tried solving some problems and while I was able to figure out the answer, there wasnt a way for me to output it. Can someone help me?

4th Jul 2022, 11:43 AM
ChrisVIN
ChrisVIN - avatar
5 Answers
+ 2
Use the printf() function to send output to the console. Code Coach will capture the console output and compare with expected console output.
4th Jul 2022, 7:29 PM
Brian
Brian - avatar
+ 2
Brian thanks that seems to solve my issue!
4th Jul 2022, 7:31 PM
ChrisVIN
ChrisVIN - avatar
+ 1
Which problems? Do you mean code coaches? Can you say it some more clearly...!! Possibly Link or screen shots will help to understand it more...
4th Jul 2022, 11:54 AM
Jayakrishna 🇮🇳
+ 1
You mean test cases 'not visible' or hidden? Yes. Its hidden. Not possible to see anyone. Read the description carefully and write your program. Test your code. If it correct then it pass all test cases otherwise no, then you need to try again. If you have any difficulties in solving then you can take help from this q/a section with showing your attempt, along with clear description..
4th Jul 2022, 12:08 PM
Jayakrishna 🇮🇳
0
Yes, code coaches, any problem that can be solved in C I cant find a way to return the answer
4th Jul 2022, 11:55 AM
ChrisVIN
ChrisVIN - avatar