Computer Science, asked by sayeshasethi0000, 1 year ago

a program to print first 15 multiples of 6

Answers

Answered by swathy183
1
6
12
18
24
30
36
42
48
54
60
66
72
78
84
90
Answered by deepakalpana03
0

#include<stdio.h>

int main()

{

int n,d,i;

printf("enter the number");

scanf("%d",&n);

printf("enter the multiples of n");

scanf("%d",&d);

for(i=1;i<=d;i++)

{

printf("%d\n",n*i);

}

}


OUTPUT:

enter the number 6

enter the multiples of n 15

6

12

18

24

30

36

42

48

54

60

66

72

78

84

90



Similar questions