Can someone EXPLAIN why this is not correct? It compiles but it does not verify correct.
package com.codegym.task.task03.task0304;
/*
Task with percentages
*/
public class Solution {
public static double addTenPercent(int i) {
//write your code here
double a = 9 * (.1);
return i + a;
}
public static void main(String[] args) {
System.out.println(addTenPercent(9));
}
}