Computer Science, asked by rauthanvikramsingh, 10 months ago

write the basic statement for the following multiply variable A and B and store the result in C​

Answers

Answered by susanthgarikena
2

Answer:

input :

#include <stdio.h>

int main() {

   double a, b, product;

   printf("Enter two numbers: ");

   scanf("%lf %lf", &a, &b);  

 

   // Calculating product

   product = a * b;

   // Result up to 2 decimal point is displayed using %.2lf

   printf("Product = %.2lf", product);

   

   return 0;

}

output:

Enter two numbers: 2.4

1.12

Product = 2.69

Explanation:

Answered by topper90
3

Answer:

for qbasic(without using input command)

Let a=20

Let b=10

c=a*b

print c

output

200

please mark as BRAINLIEST

#answerwithquality

#BAL

Similar questions