package com.codegym.task.task03.task0304;
/*
Task with percentages
*/
public class Solution {
public static double addTenPercent(int i) {
//write your code here
double increase_Prcnt=(10/100)*9;
double addTenPercent = increase_Prcnt+9;
return addTenPercent;
}
public static void main(String[] args) {
System.out.println(addTenPercent(9));
}
}
package com.codegym.task.task03.task0304;
/*
Task with percentages
*/
public class Solution {
public static double addTenPercent(int i) {
//write your code here
double increase_Prcnt=(10/100)*9;
double addTenPercent = increase_Prcnt+9;
return addTenPercent;
}
public static void main(String[] args) {
System.out.println(addTenPercent(9));
}
}