this is simple
#include <iostream>
using namespace std;
void main()
{
int x = 25;
int y = 10;
float z = 6.5;
cout <<"x=25"<<endl;
cout << "y=10" << endl;
cout << "z=6.5" << endl;
cout << "x+y+z=" << x + y + z << endl;
cout << "x-y-z=" << x - y - z << endl;
cout << "x*y*z=" << x * y * z << endl;
cout << "x*z/y=" << x * z / y << endl;
}



0 Comments