Answer:
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 ");
}
Answer:
b.d
Explanation:
The format of the outputted string format totally depends upon the string format character according to the question the answer is format charatcer d.
It represents the day of the months in 2 digits in numerical format with leading zeroes.
L represents whether the year is a leap year or not.
D represents the days of the month in textual format with three characters like Sun for sunday.
j It represents the days of the month without leading zeroes.
Answer:
misspelling a programming language word
Explanation:
Syntax error is the type of error in programming, when the programmer insert some symbol that is not present in directories or libraries, the programmer not followed the rules of that particular programming language that is understandable to compiler.
For example in C++, it is necessary to insert the semicolon (;) after each statement. If the programmer not insert the semicolon after each statement, the program will show the syntax error.
If the programmer use integer instead of int to assign datatype to the variable in C++, it will also leads to the syntax error. Because in C++ library, Integer is defined with the help of "int".