I have an issue with the task 0612 in the French version. Each time I try to run the code, I get the error message "class Calculatrice is public, should be declared in a file named Calculatrice.java". Has anyone a hint? Thank you!
package fr.codegym.task.task06.task0612;
/*
Calculatrice
*/
public class Calculatrice {
public static int plus(int a, int b) {
//write your code here
int result = a+b;
return result;
}
public static int minus(int a, int b) {
//write your code here
int result = a-b;
return result;
}
public static int multiply(int a, int b) {
//write your code here
int result = a*b;
return result;
}
public static double divide(int a, int b) {
//write your code here
double c = a;
double d = b;
double result = c/d;
return result;
}
public static double percent(int a, int b) {
//write your code here
double c = a;
double d = b;
double result = c*d/100;
return result;
}
public static void main(String[] args) {
}
}