NBA - Boston Celtics

Thursday, 26 January 2012

to find the value of a,b and c.....IN RUNTIME....

#include<iostream.h>
main()
{
float a, b, c;
cout<<"enter the value of a :";
cin>>a;
cout<<"enter the value of b :";
cin>>b;
cout<<"enter the value of c :";
cin>>c;
a=a++ + --b;
b=c-- + ++a;
c=b++ - --a;
cout<<"\nthe value of a is :"<<a;
cout<<"\nthe value of b is :"<<b;
cout<<"\nthe value of c is :"<<c;
}


No comments:

Post a Comment