هذا كودي تبع برنامج اله الحاسبه هو غلط 50%
int a,b,c;
Scanner Keyboard = new Scanner(System.in);
a= Keyboard.nextInt();
a= Keyboard.nextInt();
System.out.println("Enter the number one");
char opreation;
Scanner input = new Scanner(System.in);
opreation=input.next();
System.out.println(" Selct any opreation *, / , - , + , %");
opreation=input.boolen();
switch (opreation);
{
case '*':
System.out.println(a*b);
break;
case '/':
{
if(b!=0)
System.out.println(a/b);
else if(b=0)
System.out.println("Erorr because the number2 = 0");
}
break;
case '+':
System.out.println(a+b);
break;
__________________________________________________ ___ بالعربي انا ابغى اقول للمستخدم يدخل الرقم الاول ثم تطلع جمله ( اختر العمليه * او / او + او - ) بعدين يخل الرقم الثاني وينفذ العمليه ..
ممكن افهم ايش الغلط وايش التصحيح ؟
مشكورين مقدما
(( لو سمحتوا قولوا ايش الغلط بكره علي تسليمه وانا مافمت
))