C & C++ language
Home
HTML
C&C++ language
Movies
Games
Softwares
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment