3x+4y-8z | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

3x+4y-8z

plz help how to solve ...x y z value u can set on desirr

8th Sep 2017, 9:44 AM
cяεαтιvε мαsтεяs
cяεαтιvε мαsтεяs - avatar
6 Answers
+ 12
3x+4y-8z it can't solve. It have a diffrent variables.
8th Sep 2017, 9:46 AM
Nithiwat
Nithiwat - avatar
+ 10
//this way 1st declare variables change their value to desired ones than add "*" symbol between the numbers & alphabets #include <iostream> using namespace std; int main() { int x = 1;//neccesary to declare variables 1st int y = 1;//change their values to any integer int z = 0; cout << 3*x+4*y-8*z << endl;//print the results of the maths operation return 0; }
8th Sep 2017, 10:15 AM
Lord Krishna
Lord Krishna - avatar
+ 3
You can solve an equation but not an expression. Would you mind to elaborate more about your problem?
8th Sep 2017, 11:34 AM
Zephyr Koo
Zephyr Koo - avatar
0
write a program that will solve this equation and print the final result of equation....
8th Sep 2017, 2:32 PM
cяεαтιvε мαsтεяs
cяεαтιvε мαsтεяs - avatar
0
thanks u all specially Lord krishna thanks.....
8th Sep 2017, 3:08 PM
cяεαтιvε мαsтεяs
cяεαтιvε мαsтεяs - avatar
0
but now i want to do dry run on this program so tell me how to dry run
8th Sep 2017, 3:09 PM
cяεαтιvε мαsтεяs
cяεαтιvε мαsтεяs - avatar