
Untitled
By: a guest on Feb 13th, 2012 | syntax:
None | size: 0.63 KB | hits: 38 | expires: Never
harjtyopisteet=((15*pisteet1+20*pisteet2+30*pisteet3+35*pisteet4)/20);
//seuraavaksi ehtolauseet harjoitustoista saataville lisapisteille
if (harjtyopisteet < 61) {
harjtyolisapisteet = -99;
}
if (harjtyopisteet==61) {
harjtyolisapisteet = -38;
}
if (harjtyopisteet==62) {
harjtyolisapisteet = -32;
}
if (harjtyopisteet==63) {
harjtyolisapisteet = -27;
}
if (harjtyopisteet==64) {
harjtyolisapisteet = -23;
}
if (harjtyopisteet==65) {
harjtyolisapisteet = -20;