write a c++ program for z=7x+5y
Answers
Answered by
2
#include<iostream.h>
#include<conio.h>
int main()
{
int z,x,y;
cout<<"enter the value for x : ";
cin>>x;
cout<<"enter the value for y : ";
cin>>y;
z=(7*x)+(5*y);
cout<<"value of this equation is"<< z ;
return 0;
}
shameersaitsaipdw21k:
thank you very much for the answer ,tomorrow for me exam!
Similar questions