a1
This commit is contained in:
parent
05049d7373
commit
231f8c368c
@ -43,10 +43,10 @@ int main(){
|
||||
counter++;
|
||||
continue;
|
||||
}
|
||||
double r1 = (round(funkcia->x*100) + round(funkcia->y*100))/100;
|
||||
double r2 = (round(funkcia->x*100) - round(funkcia->y*100))/100;
|
||||
double r3 = (round(funkcia->x*100) * round(funkcia->y))/100;
|
||||
double r4 = (round(funkcia->x*100) / round(funkcia->y))/100;
|
||||
double r1 = round((funkcia->x + funkcia->y) * 100) / 100.0;
|
||||
double r2 = round((funkcia->x - funkcia->y) * 100) / 100.0;
|
||||
double r3 = round((funkcia->x * funkcia->y) * 100) / 100.0;
|
||||
double r4 = round((funkcia->x / funkcia->y) * 100) / 100.0;
|
||||
if(funkcia->result != r1 && funkcia->result != r2 && funkcia->result != r3 && funkcia->result != r4){
|
||||
results[counter] = 2;
|
||||
counter++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user