- 1
What this said its time out
#include <stdio.h> void sp(r) { } int main() { int r; printf ("how many rows do you want"); scanf("%d",r); sp(r); return 0; }
3 Answers
+ 2
You are coding in C, right?
I think you forgot to put đ& for your variable in the scanf line.
Your indentation in main() function isn't nice, but that won't stop anything from working.
Also, doesn't a void function still need a đreturn statement?
+ 1
Ok thanks for replying