KnowledgeBoat Logo
|

Computer Applications

Kareena is writing a program in Java to calculate the average of three subjects. Which operators will she use for the same?

Java Intro

39 Likes

Answer

Kareena will 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.

Answered By

23 Likes


Related Questions