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
Math,
16 days ago
Math,
1 month ago
Math,
1 month ago
Computer Science,
9 months ago
Physics,
9 months ago
Social Sciences,
9 months ago