C program has no output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C program has no output

Hi there, I've been trying to complete a challenge but I don't get any output :( https://code.sololearn.com/c7KbIpwyiqXg/?ref=app

11th Apr 2020, 10:35 AM
Matt
Matt - avatar
1 Answer
0
Change void main to int main. Then, delete ampersand (&) before discount result.
11th Apr 2020, 10:38 AM
Mustafa K.
Mustafa K. - avatar