Computer Science, asked by INAYATNEGI, 11 months ago

multiply two variables A and B and store the result in C​

Answers

Answered by throck
6
#include<studio.h>
void main()
{
int a,b,c;
scanf("%d%d",&a,&b);
c=a*b;
printf("%d",c);
}
Answered by StaceeLichtenstein
3

Following are the statement is given below

Int C; // Declared a variable C

C=A*B; // Multiply the variable A and B

Explanation:

  • Declared a variable "C" of int type .The integer C is used for holding the multiplication of variable 'A" and variable "B".
  • The operation C=A*B; means multiply the two values of variable "A" and variable "B" and store the result in the variable "C".
  • For example:

       int A=9;  // Declared a variable A

       int B=8; // Declared a variable B

       int C=A*B;// Store 72

Learn More :

https://brainly.in/question/14902574

Similar questions