السلام عليكم ورحمة الله وبركاتة
اخواني المبرمجين اخواتي المبرمجات
أسعد الله ايامكم بالحب واليمن والمسرات
وكل عام وانت بالف الف الف خير
احبتي عندي معادلة محتاجة لبرمجة بلغة الجافا
ارجو مساعدتي فيها
Write an if statement to complete the following program. If the user's input (answer) is 13, then the program should output the message "Correct"; otherwise, the program should output the message "Wrong".
public class Greet {
public static void main(String[] args) {
int answer;
System.out.print("What is 5 + 8 ? ");
answer = TextIO.getlnInt();
}
}
Identify and correct the errors in each of the following statements:
a. if ( c < 7 );
System.out.println( “c is less than 7” );
b. if ( c => 7 )
System.out.println( “c is equal to or grearer than 7” );

