C Program to Multiply Two Floating-Point Numbers
Program to Multiply Two Numbers Output In this program, the user is asked to enter two numbers which are stored in variables a and b respectively. Then, the product of a and b is evaluated and the result is stored in product. Finally, product is displayed on the screen using printf(). Notice that, the result is rounded off to the second decimal place using %.2lf conversion character.