A person is paid Rs. 350 for each day he works and fined Rs.30 for each day he remains absent. Write an algorithm and draw flowchart to calculate and display his monthly income, if he is present for 25 days and remains absent for 5 days.
Answers
Answered by
5
Answer:
public class KboatSalary
{
public static void main(String args[]) {
int salary = 25 * 350;
int fine = 5 * 30;
int netSalary = salary - fine;
System.out.println("Monthly Income = " + netSalary);
} MONTHLY.=8600
}
Similar questions
Computer Science,
9 days ago
Accountancy,
9 days ago
Math,
19 days ago
Math,
19 days ago
Math,
9 months ago
Hindi,
9 months ago
Math,
9 months ago