C dili - Öğrencinin Notuna Göre Değer Veren Program

Soru: Öğrencinin notuna göre değer veren programı C diline kodlayınız. Cevap: #include <stdio.h> int main(int argc, char const *argv[]) { /* coded by ev1...

Soru:
Öğrencinin notuna göre değer veren programı C diline kodlayınız.
Cevap:
Kod:
#include <stdio.h>

int main(int argc, char const *argv[])
{

    /*
        coded by ev1
        www.spyhackerz.com
    */

    int not;   
    printf("Öğrencinin notunu giriniz: "); scanf("%d", &not);

    if (not<50)
            printf("%d notu çok kötü! ", not);
   
    else if(not>=50 && not<=64)
        printf("%d notu ortalama bir not!\n", not);
   
    else if(not>=65 && not<=79)
        printf("%d notu iyi bir not!\n", not);
   
    else if(not>=80 && not<=100)
        printf("%d notu çok iyi bir not!\n", not);   


    return 0;
}
 
💬 SpyHackerz Telegram — Anlık tartışmalar ve duyurular için katıl
132,140Konular
3,275,572Mesajlar
316,971Kullanıcılar
lancerosSon Üye
Üst Alt