Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. //aplicatia 1
  2. int x, y, z, D;
  3. Console.Write("x = ");
  4. x = int.Parse(Console.ReadLine());
  5. Console.Write("y = ");
  6. y = int.Parse(Console.ReadLine());
  7. Console.Write("z = ");
  8. z = int.Parse(Console.ReadLine());
  9. D = x ^ 2 - 4 * x * z;
  10.  
  11. if (D == 0)
  12. Console.WriteLine("Ecuatia are solutie unica");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement