c language में multiplication of number का कोड कैसे लिखें || Hbs Computer Course

Hello friends welcome to Hbs computer course .In this blog we will learn about how to find Multiplication of numbers in c language.

IF you want to know what is basic of c language and what is the required things to make a program 

follow the following link


part 1:https://hbscomputercourse.blogspot.com/2022/12/c-language-definitionprogramalgorithm.html

part 2:https://hbscomputercourse.blogspot.com/2022/12/c-languagekeywordsvariableconstantdatad.html

part 3:https://hbscomputercourse.blogspot.com/2022/12/type-casting-in-c-languageupper.html

part 4:https://hbscomputercourse.blogspot.com/2022/12/Whatisfunction.html 


The question is write a program to find multiplication of 3 numbers.

Firstly  we write algorithm ,algorithm is as follows -

EXAMPLE  - Write a program to find multiplication of 3 numbers.

1 Start 


2 Input a,b,c


3 d= a*B*C


4 output d


5 End

now we start writing a  code .

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

void main()
{
int a,b,c,d;

printf("Enter any three numbers");

scanf("%d%d%d",&a,&b,&c);

d=a*b*c;
printf("\n Multiplication of 3 numbers =%d",d);

getch();

}

you can run this code -


   output of this code-
                



I hope you  will be understood how to write a code in c language. 

Comments