Write C code that outputs the names of soccer teams whose payroll is greater than or equals to 10,000,000. What should be the correct code snippet?
A) if (team.payroll >= 10000000) printf("%s", team.name);
B) cout << team.name if team.payroll >= 10000000;
C) if team.payroll >= 10000000: print(team.name)
D) System.out.println(team.getName()) if (team.getPayroll() >= 10000000);