Nesne Tabanlı Programlama (Güz-2016) Hafta-7-2
public class ornek{ public ornek() { int sinir=-1; do{ String sayi = System.console().readLine(“Girilecek sayi adedi:”); try{ sinir=Integer.parseInt(sayi); } catch(Exception ex){
Okumaya devam etpublic class ornek{ public ornek() { int sinir=-1; do{ String sayi = System.console().readLine(“Girilecek sayi adedi:”); try{ sinir=Integer.parseInt(sayi); } catch(Exception ex){
Okumaya devam etclass ogrenci{ static int[] sinir={90,80,70,65,60,55,50,40}; static String[] harfler={“AA”,”BA”,”BB”,”CB”,”CC”,”DC”,”DD”,”FD”}; String adsoyad, no; int vizenotu, finalnotu; public static void sinirdegistir() {
Okumaya devam et| P | S | Ç | P | C | C | P |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 | ||||||

Son yorumlar