write a Java program to calculate the cost of 15 apples if the cost of 6 apples is 19
Answers
Answered by
1
Answer:
int cost_of_app = 19 % 6
int cost_of_fif_app = cost_of_app * 15
String sr = String.valueOf(cost_of_fif_app)
System.out.println("The cost of 15 apple is" + sr)
IF U WANT TO UNDERSTAND THE CODE JUST TELL ME...
Similar questions
Computer Science,
6 months ago
Hindi,
6 months ago
Math,
11 months ago
Math,
11 months ago
Science,
1 year ago