a1
This commit is contained in:
parent
f936322d83
commit
05049d7373
@ -43,10 +43,10 @@ int main(){
|
||||
counter++;
|
||||
continue;
|
||||
}
|
||||
double r1 = (round(funkcia->x*10) + round(funkcia->y*10))/10;
|
||||
double r2 = (round(funkcia->x*10) - round(funkcia->y*10))/10;
|
||||
double r3 = (round(funkcia->x*10) * round(funkcia->y))/10;
|
||||
double r4 = (round(funkcia->x*10) / round(funkcia->y))/10;
|
||||
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;
|
||||
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