A person is paid rs.350 for each day he works and
fined rs.30 for each day he remains absent. Write a
program to calculate and display his monthly income, if
he is present for 25 days and remains absent for
5 days.
Java program using assignment operator
Answers
Answered by
3
Answer:
here is your answer
(25x350)-(25x5)( if the day is of 31 days days X 25 with 6) -
(25x350)-(25x5)= (25square) + (350+5)25 - (350x5)= 625 + 8875 - 1750=
9500 - 1750=
Salary of person = Rs 7750
Similar questions