Surce Code
#include <stdio.h>
int main(){
int nilai;
printf("Masukkan Nilai = ");scanf("%d", &nilai);
printf("Keterangan : ");
if ((nilai <=100) && (nilai>=0)){
if(nilai>=50){
printf("LULUS ^_^\n");
}else{
printf("TIDAK LULUS\n");
}
}else{
printf("Masukkan Angka 0-100\n");
}
}
Running program
0 comments:
Posting Komentar