the error i'm getting is of different types of variables being added that is double and int
package com.codegym.task.task03.task0304;
/*
Task with percentages
*/
public class Solution {
public static double addTenPercent(double i) {
double tp;
tp = i*.10;
i= i+tp;
return i;
}
public static void main(String[] args) {
System.out.println(addTenPercent(9));
}
}