1.

Write a program to input marks. If marks are greater than or equal to 40, display “PASS” otherwise display “FAIL”

Answer»

ro{PUBLIC static void MAIN(DOUBLE m){if(m>=40)System.out.println(“Pass”);elseSystem.out.println(“Fail”);}}Hope this helps you:D



Discussion

No Comment Found