can someone help me and tell me what is wrong, I can't figure it out. This is what it is exactly saying
Lab424.java:14: cannot find symbol
symbol : method printf(java.lang.String, float)
location: class Lab424
printf(" sum %f\n", sum);
it is pointing to the "p"
import java.util.Scanner;
public class Lab424
{
public static void main(String[] args) {
int i; float sum;
i=3;
sum=0;
while(i<=99)
{
sum=sum + ( (i-2)/i);
i=i+2;
}
printf(" sum %f\n", sum);
}
}