C dili - Öğrencinin Notuna Göre Değer Veren Program (1 Viewer)

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
Yanıt yazmak için giriş yapmalısınız
Forum özelliklerini kullanmak ve Level 2 üyelik satın almak için hesabınıza giriş yapın.

Users who are viewing this thread

133,331Konular
3,281,041Mesajlar
320,289Kullanıcılar
YUSUF516172Son Üye
Üst Alt