0
Why the program doesn't have any output?
When I run the above code, no output is shown? Why is it like this despite the fact I had declared the function? https://code.sololearn.com/cr0NMyfB3G9s/?ref=app
2 Respuestas
+ 1
You never call dollar(), you forward declared dollar() at line 6, and do the same again at line 9. Just call dollar
Line 9:
dollar(); // no `void` before function name
+ 1
Ipang thank you so much.