Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //aplicatia 1
- int x, y, z, D;
- Console.Write("x = ");
- x = int.Parse(Console.ReadLine());
- Console.Write("y = ");
- y = int.Parse(Console.ReadLine());
- Console.Write("z = ");
- z = int.Parse(Console.ReadLine());
- D = x ^ 2 - 4 * x * z;
- if (D == 0)
- Console.WriteLine("Ecuatia are solutie unica");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement