cppOlimp/arifmetik.cpp
2022-02-07 21:33:05 +02:00

16 lines
243 B
C++

//acmp.ru 0008
#include <stdio.h>
int main(){
freopen("INPUT.TXT", "r", stdin);
freopen("OUTPUT.TXT", "w", stdout);
int a, b, c;
scanf("%i %i %i", &a, &b, &c);
if (a * b == c){
printf("%s", "YES");
}else {
printf("%s", "NO");
}
}