Skip to content

Instantly share code, notes, and snippets.

@ozcanzaferayan
Created January 3, 2021 12:31
Show Gist options
  • Save ozcanzaferayan/fb7eeb6374af8dc867d8cbccb09a47c0 to your computer and use it in GitHub Desktop.
Save ozcanzaferayan/fb7eeb6374af8dc867d8cbccb09a47c0 to your computer and use it in GitHub Desktop.
Not hesaplama
const MSG_FF = "Dersi geçemediniz.";
const MSG_FD = "Dersi geçemediniz";
const MSG_DD = "Dersi DD ile geçtiniz.";
const MSG_DC = "Dersi DC ile geçtiniz.";
const MSG_CC = "Dersi CC ile geçtiniz.";
const MSG_CB = "Dersi CB ile geçtiniz.";
const MSG_BB = "Dersi BB ile geçtiniz.";
const MSG_BA = "Dersi BA ile geçtiniz.";
const MSG_AA = "Dersi AA ile geçtiniz.";
const notlar = [];
notlar[0] = MSG_FF;
notlar[1] = MSG_FF;
notlar[2] = MSG_FF;
notlar[3] = MSG_FF;
notlar[4] = MSG_FF;
notlar[5] = MSG_FF;
notlar[6] = MSG_FF;
notlar[7] = MSG_FF;
notlar[8] = MSG_FF;
notlar[9] = MSG_FF;
notlar[10] = MSG_FF;
notlar[11] = MSG_FF;
notlar[12] = MSG_FF;
notlar[13] = MSG_FF;
notlar[14] = MSG_FF;
notlar[15] = MSG_FF;
notlar[16] = MSG_FF;
notlar[17] = MSG_FF;
notlar[18] = MSG_FF;
notlar[19] = MSG_FF;
notlar[20] = MSG_FF;
notlar[21] = MSG_FF;
notlar[22] = MSG_FF;
notlar[23] = MSG_FF;
notlar[24] = MSG_FF;
notlar[25] = MSG_FF;
notlar[26] = MSG_FF;
notlar[27] = MSG_FF;
notlar[28] = MSG_FF;
notlar[29] = MSG_FF;
notlar[30] = MSG_FF;
notlar[31] = MSG_FF;
notlar[32] = MSG_FF;
notlar[33] = MSG_FF;
notlar[34] = MSG_FF;
notlar[35] = MSG_FF;
notlar[36] = MSG_FF;
notlar[37] = MSG_FF;
notlar[38] = MSG_FF;
notlar[39] = MSG_FF;
notlar[40] = MSG_FD;
notlar[41] = MSG_FD;
notlar[42] = MSG_FD;
notlar[43] = MSG_FD;
notlar[44] = MSG_FD;
notlar[45] = MSG_FD;
notlar[46] = MSG_FD;
notlar[47] = MSG_FD;
notlar[48] = MSG_FD;
notlar[49] = MSG_FD;
notlar[50] = MSG_DD;
notlar[51] = MSG_DD;
notlar[52] = MSG_DD;
notlar[53] = MSG_DD;
notlar[54] = MSG_DD;
notlar[55] = MSG_DD;
notlar[56] = MSG_DD;
notlar[57] = MSG_DD;
notlar[58] = MSG_DD;
notlar[59] = MSG_DD;
notlar[60] = MSG_DC;
notlar[61] = MSG_DC;
notlar[62] = MSG_DC;
notlar[63] = MSG_DC;
notlar[64] = MSG_DC;
notlar[65] = MSG_DC;
notlar[66] = MSG_CC;
notlar[67] = MSG_CC;
notlar[68] = MSG_CC;
notlar[69] = MSG_CC;
notlar[70] = MSG_CC;
notlar[71] = MSG_CB;
notlar[72] = MSG_CB;
notlar[73] = MSG_CB;
notlar[74] = MSG_CB;
notlar[75] = MSG_CB;
notlar[76] = MSG_CB;
notlar[77] = MSG_CB;
notlar[78] = MSG_CB;
notlar[79] = MSG_CB;
notlar[80] = MSG_CB;
notlar[81] = MSG_BB;
notlar[82] = MSG_BB;
notlar[83] = MSG_BB;
notlar[84] = MSG_BB;
notlar[85] = MSG_BB;
notlar[86] = MSG_BA;
notlar[87] = MSG_BA;
notlar[88] = MSG_BA;
notlar[89] = MSG_BA;
notlar[90] = MSG_BA;
notlar[91] = MSG_BA;
notlar[92] = MSG_BA;
notlar[93] = MSG_BA;
notlar[94] = MSG_BA;
notlar[95] = MSG_BA;
notlar[96] = MSG_AA;
notlar[97] = MSG_AA;
notlar[98] = MSG_AA;
notlar[99] = MSG_AA;
notlar[100] = MSG_AA;
const not = 50;
console.log(notlar[not]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment