This program is about print tables no return type without argument using functions.
#include<stdio.h> void tables(); int main() { tables(); return 0; } void tables() { int i,j,n; printf("\nEnter the Table number:"); scanf("%d",&j); printf("\nEnter the limit:"); scanf("%d",&n); for(i=1;i<=n;i++) { printf("\n%d*%d=%d",i,j,i*j); } }To download raw file Click Here
Enter the Table number:7 Enter the limit:5 1*7=7 2*2=14 3*3=21 4*7=28 5*7=35
Learn All in Tamil © Designed & Developed By Tutor Joes