Program.cs 262 B

123456789101112
  1. int numOne = Convert.ToInt32(Console.ReadLine());
  2. int numTwo = Convert.ToInt32(Console.ReadLine());
  3. int numAnswer = Convert.ToInt32(Console.ReadLine());
  4. if (numAnswer == numOne * numTwo)
  5. {
  6. Console.WriteLine("YES");
  7. }
  8. else
  9. {
  10. Console.WriteLine("NO");
  11. }