Computer Applications
Related Questions
State the difference between = and ==.
Give the output of the snippet:
int a=10,b=12; if(a>=10) a++; else ++b; System.out.println(a + "and" +b);Give the output of the snippet:
int a = 3; while (a<=10) { a++; if(a== 5) continue; System.out.println(a); }Write a program to accept marks in Physics, Chemistry and Biology. The program calculates the average and displays the stream accordingly:
Average Marks Stream 80% and above Computer Science 60% or more but less than 80% Bio-Science 40% or more but less than 60% Commerce