find error in this code (c lang, functions) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

find error in this code (c lang, functions)

#include<stdio.h> #include<conio.h> void printftable(int n); int main() { int n; printf("Enter a number : "); scanf("%d",&n); printftable(n); return 0; } void printftable(int n){ int i; for(i=0;i<=12;i++){ printf("%d\n",i*n); } }

18th Dec 2022, 3:49 AM
Sahithi Polunati
Sahithi Polunati - avatar
1 Answer
18th Dec 2022, 4:46 AM
Ipang