+ 1
What is the errors in this code ?
It's a structure code .. i wanted write a code to show date ... but this code is not taking input correctly. plz help me out.. https://code.sololearn.com/cfa5wEApOLM2/?ref=app
5 Réponses
+ 12
As Lakshay has mentioned, your code is taking input correctly. But it's not showing anything because you haven't printed the values. You need to use cout to print the input values : https://code.sololearn.com/c9K9UKZaFGcC/?ref=app
+ 6
Your code is perfectly fine.
In sololearn's playground you have to input all the inputs in the beginning giving space or return b/w them.
I think this maybe your problem, if not let me know about it.
+ 2
thank u so much .. its working perfectly as i required ..
+ 2
Thanks lakshay and shamima for helping...
now i learnt to input and output structures from u guys ...
+ 1
thanks for reply .. Yes i gave input correctly but its not showing output correctly .. i entered 24 space 5 space 2017 .. its not giving any output .. once try it for yourself