public class Solution {
public static double addTenPercent(int i) {
double ii=i+0.9;
return ii;
}
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) {
double ii=i+0.9;
return ii;
}
public static void main(String[] args) {
System.out.println(addTenPercent(9));
}
}