0

main() { int x; scanf("%d",&x); printf("square of %d is %d"x,x*x); }

What's mistake

18th Jan 2021, 10:48 PM
Saurabh Kushwaha
Saurabh Kushwaha - avatar
3 odpowiedzi
+ 1
Before main() you need int. Missing a comma between x and the string.
18th Jan 2021, 10:54 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
In printf you missed comma after quotation mark
18th Jan 2021, 11:14 PM
Michal Doruch
0
Ty
18th Jan 2021, 10:56 PM
Saurabh Kushwaha
Saurabh Kushwaha - avatar