Jun 20, 2012 at 5:34pm
From ANSI C++,
Please see the question no 1.14
Write a program to display the equation of a line in the form...
ax+by=c.
for a=5,b=8,c=18
Jun 20, 2012 at 5:38pm
What are you having issues with? That's just standard form of a line, and it gives you the variables.
Jun 20, 2012 at 5:48pm
Serious?
Output the equation?
cout << a << "x+" << b << "y=" << c;
At least that's how I read it.
Jun 20, 2012 at 5:51pm
You mean that it asks to print a string literal "5x + 8y = 18"?
cout << "5x + 8y = 18\n";
Jun 20, 2012 at 6:00pm
No not a literal, I think you're overthinking this. Just how I did it above