cant get any output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
19th Jan 2018, 5:42 PM
Rahul guha
Rahul guha - avatar
3 Answers
0
In your scanf you've to replace mon_val with &mon_val. the &-sign is a pointer to that variable otherwise it won't assign the value to the variable.
19th Jan 2018, 5:52 PM
Jente
0
can anyone tell me the right code it is not solving?!!!
19th Jan 2018, 6:05 PM
Rahul guha
Rahul guha - avatar
19th Jan 2018, 7:23 PM
John Wells
John Wells - avatar