Aktualizovat „du4/program.c“

This commit is contained in:
Artem Horbunov 2020-04-02 18:08:51 +00:00
parent 62bef9862b
commit ab77dc0676

View File

@ -1,6 +1,7 @@
#include <stdio.h> #include <stdio.h>
int main(){ int main(){
while(1){
char read[1000000]; char read[1000000];
scanf("%[^\n]", read); scanf("%[^\n]", read);
float num1, num2, answer; float num1, num2, answer;
@ -19,4 +20,5 @@ int main(){
answer = (float) tmp / 100000; answer = (float) tmp / 100000;
printf("%s\n", (check == answer) ? "OK" : "ZLE"); printf("%s\n", (check == answer) ? "OK" : "ZLE");
//printf("%f\n", check); //printf("%f\n", check);
}
} }