Saved Bookmarks
| 1. |
Write program in Java to accept marks of students in physics. Chemistry and biology. Display total marks and average marks |
|
Answer» CLASS disha { public void disp(double phy,double CHEM,double bio) { double average=(phy+chem+bio)/2 System.out.println("the average marks is"+average) } } this one is the simplest one if you NEED a complex one with array you MAY just leave a COMMENT |
|