Abu J3fr
11-27-2008, 10:01 PM
السلام عليكم
اخواني الدكتور طالب منا عمل 3 برامج بالجافا وانا مو عارف كيف اعملهم .,,,
واخر يوم للتسليم هو السبت يعني بكره ,,
البرامج هي :
الأول :
Part 1 : MinNumber
1-Using a scanner
2-Your program should ues While statement that ask user to enter a number five times.
3-Your program should ues if else statement to find the minimum of five numbers.
اعتقد انه واضح
يبي ادخل خمس ارقام والبرنامج يحسب اقل رقم
ودا كله باستخدام الـ While و if else
اما البرنامج الثاني :
Part 2 : EvenOdd
Write a program that a for loop to compute the sum of the even numbers and the sum of the odd numbers between 1 - 99
والبرنامج الثالث والأخير
Part 3 : OperatorsTest
Write a program using the Scanner / Switch and other statements if needed which simulates a calculator. Your program should take any numbers that are greater than 0 and operator from the user in the following format : number operator number ( - , + , * , / , % )
اخواني الدكتور طالب منا عمل 3 برامج بالجافا وانا مو عارف كيف اعملهم .,,,
واخر يوم للتسليم هو السبت يعني بكره ,,
البرامج هي :
الأول :
Part 1 : MinNumber
1-Using a scanner
2-Your program should ues While statement that ask user to enter a number five times.
3-Your program should ues if else statement to find the minimum of five numbers.
اعتقد انه واضح
يبي ادخل خمس ارقام والبرنامج يحسب اقل رقم
ودا كله باستخدام الـ While و if else
اما البرنامج الثاني :
Part 2 : EvenOdd
Write a program that a for loop to compute the sum of the even numbers and the sum of the odd numbers between 1 - 99
والبرنامج الثالث والأخير
Part 3 : OperatorsTest
Write a program using the Scanner / Switch and other statements if needed which simulates a calculator. Your program should take any numbers that are greater than 0 and operator from the user in the following format : number operator number ( - , + , * , / , % )
