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); } }
1 Answer
+ 3
Use of obsolete, incompatible header file <conio.h>
https://www.sololearn.com/Discuss/1947816/?ref=app
https://www.sololearn.com/Discuss/2691684/?ref=app