Skip to content

apc-s-006.c

Problem Statement

Write a program to print first 10 multiple of 5

Metadata

Property Detail
Author Amit Dutta (amitdutta4255@gmail.com)
License MIT

Actions

Raw View on GitHub

💡 You can print or save this file by opening Raw and using your browser.

Source Code

#include <stdio.h>
#include <conio.h>

void main()
{
    clrscr();
    int a = 5, i = 1, res;
    while (i <= 10)
    {
        res = a * i;
        printf("%d * %d = %d\n", a, i, res);
        i++;
    }
    getch();
}