Write a program to print table 5 on c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program to print table 5 on c

#include <stdio.h> int main() { int i = 5; printf("enter a num to make a table in c"); scanf("%d,&i"); for ("i= 1; i<=10"; c++) { printf ("\n,%d*%d=%d,5,i,5*i"); } return 0; }

18th Oct 2022, 7:41 AM
Aasheesh Verma
Aasheesh Verma - avatar
1 Answer
+ 1
Aasheesh Verma Double quotes is used for String. input statement is wrong loop is wrong print statement is wrong Learn about C syntaxes
18th Oct 2022, 9:09 AM
A͢J
A͢J - avatar