R_TABLE - ") ; scanf("%d",&upl);...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include<stdio.h> #include<conio.h> # void rec (int,int ,int); void main (void) { int no,ll,upl; clrscr(); printf("enter the number for table: "); scanf("%d",&no); printf("\nenter the lower limit: ") ; scanf("%d",&ll); printf("\nenter the upper limit:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ") ; scanf("%d",&upl); rec(no,ll,upl); getch(); } void rec(int no,int ll, int upl) { int ans; if(ll<=upl) { ans=no*ll; printf("%d X %d =%d",no,ll,ans) ; printf("\n"); rec(no,ll+1,upl) ; } }...
View Full Document

This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.

Ask a homework question - tutors are online