Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class jaspern {
- /**
- * @param args
- */
- public static void main(String[] args) {
- int kesk;
- int lopp;
- System.out.print("Enter grade average ");
- kesk = TextIO.getlnInt() ;
- System.out.print ("Enter final exam grade ") ;
- lopp = TextIO.getlnInt() ;
- if(kesk > 4.5)
- System.out.println("YES!") ;
- if (lopp==5)
- System.out.println("YES!");
- else
- System.out.print("NO!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement