Computer Science, asked by joe097, 1 month ago

write a java program to find out the total wage of a person if his daily wage of a person if his daily wage is 500 and he works for 6 days

Answers

Answered by sanjiththesupernigha
0

Answer:

public class totalwage { //class  

public static void main(String[] args) { //Main Meathod

 int wage = 500; //Storing wage value in "wage" variable

 int days = 6; //Storing days value in "days" variable

 int totalwage = wage*days; //Storing the calculated value after multiplying "wage" & "days" variables

 System.out.println("Total Wage : " + totalwage); //Printing the result

}

}

Explanation:

Similar questions