write the basic statement for the following multiply variable A and B and store the result in C
Answers
Answered by
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
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
Math,
5 months ago
Computer Science,
5 months ago
Math,
5 months ago
Chemistry,
11 months ago
Math,
11 months ago
Science,
1 year ago
India Languages,
1 year ago