Java – Aplikasi Grade Nilai

import java.util.Scanner;

public class grade


public static void main(String[] args)


Scanner input = new Scanner(;

System.out.print(“Masukkan Nilai anda: “);

int total = input.nextInt();

System.out.printf(“\nNilai Anda adalah %d. “,total );


System.out.println(“\nGrade anda A”);

else if(total<=89 && total >=80)

System.out.println(“\nGrade anda B”);

else if(total<=79 && total >=70)

System.out.println(“\nGrade anda C”);

else if(total<=69 && total >=60)

System.out.println(“\nGrade anda D”);


System.out.println(“\nGrade anda E”);



cat. simpan dengan nama

copy right : Agam Taufiq, Bian Abi Nugroho, Iis Aisyah


About chandechildz

I'm the simple man Always happy everday every time every well View all posts by chandechildz

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: