Soru: Bir öğrencinin notunu alıp harf notuna çeviren program yazın. 90-100: AA, 80-89: BA, 70-79: BB, 60-69: CB, 50-59: CC, 0-49: FF
Çözüm:
- Kullanıcıdan notu alırız ve integer'a çeviririz
- if-elif-else zinciri oluştururuz:
- not >= 90: "AA"
- not >= 80: "BA"
- not >= 70: "BB"
- not >= 60: "CB"
- not >= 50: "CC"
- else: "FF"
- Sonucu ekrana yazdırırız