NBA - Boston Celtics

Thursday, 26 January 2012

To find the value of a,b and c.....


//To find the value of a,b and c.....

#include<iostream.h>
main()
{
float a=8, b=8, c=4;
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