You are on page 1of 3

NAME- MD.

SAKIF RAHAMAN MISHAD


STUDENT ID- 221000412
TITLE OF EXPERIMENT- MULTIPLICATION RESULT OF THREE NUMBER
DATE-11 FEB 2022
COURSE CODE-112.1
COURSE NAME- COMPUTER FUNDAMENTALS AND PROGRAMMING BASICS LABORATORY
SUBMITTED TO- MOUMITA SEN SARMA, LECTURER, DEPARTMENT OF CSE
INTRODUCTION

C is highly portable and is used for scripting system applications which


form a major part of Windows, UNIX, and Linux operating system. C is a
general-purpose programming language and can efficiently work on
enterprise applications, games, graphics, and applications requiring
calculations, etc.

HERE IS THE SOURCE CODE OF THREE MLTIPLICATION IN C PROGRAMMING

#include<stdio.h>
int main (void)
{
int a,b,c,d;
printf("Three number of multiplication");
scanf("%d%d%d",&a,&b,&c);
d= a*b*c;
printf("111.1 ASSIGNMENT MULTIPLICATION RESULT OF THREE NUMBER IS,%d",d);

return 0;
}
Output Screenshot

DISCUSSION
In this multiplication example, three numbers entered by the user is
calculated and printed on the screen. Over here, the user is asked to enter
three numbers which are stored in a, b and c. Then, the product of a, b
and c is evaluated and the result is stored in d. Finally, d is displayed on
the screen using printf().In a,b & c the stored number is 5,5 & 5. And now
notice that, the result of d is 125.

You might also like