Home > Net >  This how to write, strives for the tutorial
This how to write, strives for the tutorial

Time:10-01

CodePudding user response:

CodePudding user response:

Is that so?

CodePudding user response:

 static void Main (string [] args) 
{
Int a, b, c;
Console. WriteLine (" happily avoids solving quadratic equations \ nax1 ^ 2 + bx2 + c=0 ");
The Console. Write (" a=");
A=the Convert. ToInt32 (Console. ReadLine ());
The Console. Write (" b=");
B=the Convert. ToInt32 (Console. ReadLine ());
The Console. Write (" c=");
C=the Convert. ToInt32 (Console. ReadLine ());
String STR="fucking lazy dead you a dog force \ n you high school the teacher teach you so many years you his mama orders in the Lao tze equation?? Baiwenhang conscienceless \ n \ n \ n white learned? All returned to the teacher? \ n \ n this time give you face again blow your head "Labour;
Int d=b * * a * b - 4 c;
Double x1, x2,
If (d & gt; 0)
{
X1=((a - b + Math. Sqrt (* a * b * b - 4 c))/(2 * a));
X2=((a - b - Math. Sqrt (* a * b * b - 4 c))/(2 * a));
Console. WriteLine (" x1={0} \ nx2={1} ", x1, x2);
}
Else if (d==0)
{
X1=x2=((a - b + Math. Sqrt (* a * b * b - 4 c))/(2 * a));
Console. WriteLine (" x1={0} \ nx2={1} ", x1, x2);
}
Else if (d & lt; 0)
{

Console. WriteLine (" equation solution ");
}
Console. WriteLine (STR + "\ n -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --");
The Console. The Read ();
}

CodePudding user response:

reference 1st floor HyoJung response:

Can you can, I sent you a wrong picture
  •  Tags:  
  • C#
  • Related