Computer Science, asked by sarahfawzan23759, 7 months ago

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

Answers

Answered by mayureshbelamakar190
3
class pro
{
public static void main(double m)
{
if(m>=40)
System.out.println(“Pass”);
else
System.out.println(“Fail”);
}
}
Hope this helps you:D
Similar questions