New course! Every coder should learn Generative AI!
Try a free lesson0
main() { int x; scanf("%d",&x); printf("square of %d is %d"x,x*x); }
What's mistake
3 Answers
+ 1
Before main() you need int.
Missing a comma between x and the string.
+ 1
In printf you missed comma after quotation mark
0
Ty