Back To C++ Basic Index
//program to input two decimal point numbers and display difference between them #include
#include
void main() { float a,b; float difference; clrscr(); cout<<"enter value for a "; cin>>a; cout<<"enter value for b "; cin>>b; difference=a-b; cout<<"difference between a and b is "<