#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;
}
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