Back To C++ Basic Index
//program to add two decimal point values #include
#include
void main() { float a,b; float sum; clrscr(); cout<<"enter value for a "; cin>>a; cout<<"enter value for b "; cin>>b; sum=a+b; cout<<"sum of a and b is "<