بســم الله الـرحمــن الرحيــم
السلام عليكــم ورحمـة الله وبركاتــه ،،
السلام عليكم ورحمة الله وبركاته
شخباركم يا المرمجين العرب
انا مبرمج توني مبتديء وحبيت هالتخصص اللي خلاني ادرسه واتمنى منكم مساعدتي لأنني اتمنى ان اكون مبرمج محترف
عندي اسئله اتمنى احد يساعدني في حلها :blush:
a- Write a java program ,so the user can input the monthly salary then compute the net salary of an employee after deducting the tax ,use the following table to calculate the tax .Note use switch statement . 30 Mark
Annual salary
Tax
100- 999
0
1000- 1999
5%
2000- 3999
7%
4000- 7000
10%
> 7000
13%
b- Write a complete java program to solve the following equation and implement using Bluej Editor and provide a screen shot for the results. 10 Mark
Sum=X+(X2/2)+ +(X3/3)+ +(X4/4)+….. +(Xn/n)
c- Write a complete java program do display the primary numbers from 1 to a given number N, N must be entered by the user. 20 marks
Hint: a prime number is an integer greater than 1 and divisible by itself and one only. The first seven prime numbers are: 2, 3,5,7,11,13 and 17 (Page 359) 20 Mark
Example:
Suppose that N=10, so the output must be as follows
The Primary numbers between 1 and 10 are:
1
3
5
7
واتمنى اني ما اكون كلفت عليكم والا ازعجتكم بأسئلتي وابي حلها ضروري الله يرضى عليكم ويخليكم اخواني
تحياتي لكم
طبعآ هذي الماده انا ادرسها ف الجامعه لغه الجافا
:blush:
