multiplication in c
//use the "*"
/*var*/ * /*var*/;// Program to multiply 2 numbers from user inputs
#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;
}
Also in C:
- c check if char is number
- allocating memory for 1Mb text file in C
- With which of the following can you run code without provisioning or managing servers and pay only for the compute time consumed (there is no charge when the code is not running)?
- struct main function c in unix
- remove element from np array
- fgfgfgfgfgfgheheheheheh
- fgets langage c
- command line arguments c
- declaration in c
- rakshabandhan 2020
- how to mutex lock in c
- how to modulo decimal c
- how to use ? in c
- latex noindent
- code in c skipping over scanf
- does strcat null terminate
- iterar en map
- logarithmus c math.h
- c file
- If statement that tests if a value is in range
- molotovn't ribbentropn't pact
- armstrong number in c
- boolean function c
- create map golang