Application Based question
(1) Ritika has written a program in java.After the successful compilation of her program, which option should she select to run it ?
(2) Kareena is writing a program in java to calculate the average of three subjects. Which operators will she use for the same ?
Answers
Answered by
4
Answer:
Ritika :To run her program, Ritika needs to right-click on the class icon and select void main(String[] args) option from the pop-up menu.
Kareena: Kareena should use the addition operator (+) to first calculate the total marks obtained in all three subjects. After that, she will use the division operator (/) to divide the total marks by 3 to get the average.
Please make it the brainllist answer .
Similar questions
English,
2 months ago
Environmental Sciences,
2 months ago
Math,
3 months ago
Math,
3 months ago
Computer Science,
11 months ago
Physics,
11 months ago
Social Sciences,
11 months ago