No matter what I change, the first requirement is not met, while all the others are. I also tried using return to display the solution (which is correct), but then the code won't compile. Any help would be appreciated, my code is attached below.
package com.codegym.task.task01.task0129;
/*
Calculate the circumference of a circle
*/
public class Solution {
public static void main(String[] args) {
printCircleCircumference(5);
}
public static void printCircleCircumference(int radius) {
//write your code here
radius = 5;
double pi = 3.14;
double C = 2 * pi * radius;
System.out.print(C);
}
}