Computer Science, asked by abhinavhasnabade, 4 months ago

pls give me last year final exam computer paper​

Answers

Answered by pradyumansinghgautam
0

Answer:

What will be the output of the following program?

class StudentPass

{

   public static void main(String s[])

   {

       int marks = 50;

       if( marks > 70 )

           System.out.println("Distinction");

       else if( marks > 35 )

           System.out.println("Pass");

       else

           System.out.println("Fail");

       

   }

}

Explanation:

Similar questions