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

ev1

Joined
Feb 2, 2017
Credits
0
Rating - 0%
Soru:
Öğrencinin notuna göre değer veren programı C diline kodlayınız.
Cevap:
Code:
#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;
}
 

Users who are viewing this thread

Top