Hello There, Guest! Login Register
Advertise Here | Remove Ads

C program to Generate Multiplication Table

  • 0 Vote(s) - 0 Average
Thread Closed


02-03-2016, 07:06 PM #1
Sadness Offline MODERATOR MODERATORS
Posts:4,001 Threads:565 Joined:Sep 2014 Reputation: 13 Sex Female
FFUC: $0
Country: Bangladesh
Code:
/* C program to find multiplication table up to 15. */
#include <stdio.h>
int main()
{
    int n, i;
    printf("Enter an integer to find multiplication table: ");
    scanf("%d",&n);
    for(i=1; i<=15; ++i)
    {
        printf("%d * %d = %d\n", n, i, n*i);
    }
    return 0;
}

[Image: SeoClerks728x90.png]






Forum Jump:


Users browsing this thread:1 Guest(s)

Advertise Here | Remove Ads