PROGRAM FOR MULTIPLICATION OF TWO FLOAT NUMBER

C, C++, etc Programing examples. Post as many you can. Test the programs and discuss about the output of the programes.
Forum rules
Please Discuss & post only about the programes and its Output

PROGRAM FOR MULTIPLICATION OF TWO FLOAT NUMBER

Postby charulatha » Tue Apr 13, 2010 2:33 pm

/* MULTIPLECATION OF TWO FLOAT NO. */

#include <stdio.h>
main()
{
float a , b , c;
printf("Input two numbers... \n");
scanf("%f%f" , &a , &b);
c = a * b ;
printf("%f times %f = %f\n" , a , b , c);
}
Regards,
Charulatha.
User avatar
charulatha
Moderator
 
Posts: 669
Joined: Sat Oct 17, 2009 2:54 pm
membership: Senior Technician of The Institution of Engineers (India)- ST

ad
 

Return to Computer Notes : Some Sample Programs

Who is online

Users browsing this forum: No registered users and 0 guests