السلام عليكم إخواني الأعزاء
أنا طالب طلب صغير لو سمحتم
هل هنالك أحد يقدم لي تصحيح لبرنامجي هذا أنا قمة بكتابته ولكن لا أعرف هل هذه النتيجة صحيحة أم لا تفضلو مع خالص الأمنيات
import java.util.*;
public class Q2_A {
public static void main ( String[] args) {
Integer myInt;
char ch;
String str;
myInt = 5;
ch = 'M';
str =" Ahmed";
System.out.println("enter your name:");
scanner sc= scanner(System.in);
str=sc.next();
System.out.println("hello " , str ,"/n" , myInt ,"/n" ,ch);
}
}
thes is my program
مع الشكر أرجو إعلامي بهذا العمل هل الناتج صح أم لا