0

I run this over and over again it asked for an input after I give the input as 100, 9.99, and John what I got was "NO OUTPUT"

#include <stdio.h> int main() { int x; float num; char text[20]; scanf("%d %f %s", &x, &num, text); return 0; }

9th Sep 2019, 5:38 PM
Balogun Daniel
Balogun Daniel - avatar
3 ответов
+ 3
You didn't call print function and waiting some output? So what is the question then
9th Sep 2019, 6:02 PM
Marina Vasilyova
Marina Vasilyova - avatar
+ 3
That's because you are not printing anything on the console. You can use printing functions for the output.
9th Sep 2019, 6:03 PM
blACk sh4d0w
blACk sh4d0w - avatar
0
Maria Vasilyova I did put it and am still having trouble with the character output I inserted "john$©n" And it didn't print it I got the Int and float already
9th Sep 2019, 6:41 PM
Balogun Daniel
Balogun Daniel - avatar