Back To C Basic Index
//program to add two decimal point values #include
#include
void main() { float a,b; float sum; clrscr(); printf("enter value for a "); scanf("%f",&a); printf("enter value for b "); scanf("%f",&b); sum=a+b; printf("sum of a and b is %f",sum); getch(); }