Answer:
Step-by-step explanation:
The following code is written in Java. The if() function is actually called an if statement. The following code can be copied and pasted where you need as long as it is within the scope of the mark variable in order to call it and compare it to 10
if (mark > 10){
System.out.println("you have scored good");
} else {
System.out.println("you need to improve ");
}