Computer Science, asked by Anonymous, 11 months ago

ᴡʀɪᴛᴇ ᴀ ᴘʀᴏɢʀᴀᴍ ɪɴ ᴄ ʟᴀɴɢᴜᴀɢᴇ, ꜰᴏʀ ᴅɪꜱᴘʟᴀʏɪɴɢ ᴍᴜʟᴛɪᴘʟɪᴄᴀᴛɪᴏɴ ᴏꜰ ᴛʜʀᴇᴇ ɴᴜᴍʙᴇʀꜱ.​

Answers

Answered by Anonymous
20

\huge{\underline{\underline{\red{Solution→}}}}

The c language program for multiplication of three numbers

Let a, b, c are the three integer numbers and take variable "mul" for storing the result.

Then the program -

#include<stdio.h>

#include<conio.h>

void main ()

{

int a,b,c,mul;

clrscr();

printf("Enter First number =");

Scanf("%d",&a);

printf("Enter second number =");

Scanf("%d",&b);

printf("Enter third number =");

Scanf("%d",&c);

mul = a*b*c;

printf("Multiplication=%d",&mul);

getch();

}

Note ,

  • Don't do mistakes of semicolons.
  • use star(*) instead of cross sign(×).
  • Be careful, we don't use semicolon after void main.
  • Write whole program in lower case because c language is case sensitive programming language.
  • Don't use Arrow sign () while writing code , I just use the arrow for separating the commands.

\rule{200}{1}

I hope it will help you :)

Answered by mysticaldimples59
0

The c language program for multiplication of three numbers →

Let a, b, c are the three integer numbers and take variable "mul" for storing the result.

Then the program -

→ #include<stdio.h>

→ #include<conio.h>

→ void main ()

→ {

→ int a,b,c,mul;

→clrscr();

→ printf("Enter First number =");

→ Scanf("%d",&a);

→ printf("Enter second number =");

→ Scanf("%d",&b);

→ printf("Enter third number =");

→ Scanf("%d",&c);

→ mul = a*b*c;

→ printf("Multiplication=%d",&mul);

→ getch();

→ }

Note ,

Don't do mistakes of semicolons.

use star(*) instead of cross sign(×).

Be careful, we don't use semicolon after void main.

Write whole program in lower case because c language is case sensitive programming language.

Don't use Arrow sign (→) while writing code , I just use the arrow for separating the commands.

I hope it will help you :)

Similar questions
Math, 5 months ago