أعـــــــــــزاائي عندي كم برنامج..
محتاجه لكم فيه.....لاتخذلوني
1. Write a program that reads an integer x and prints y where:
Y = 1/1! + 1/2! + … + 1/x!
Hint: use a method to calculate each term of the above expression.
2. Write a program that reads two integers, then prints the factorial of the numbers between them. Use a method factorial that returns the factorial of a given number.
3. Write a program that reads an integer x and another integer m; the program calls a method del that deletes from x the mth position. Then main calls another method that reverses the resulting integer. Finally main prints the result.
Ex. Input 398147 3 output 74893
والحلول..تكون..باستدعاءmethod أو بــif وloop اذا احتاج الأمر...
ماابي حلول متقدمة...لأني في بداية دراستي......
أريد ان أتأكد من حلولي.....
بـــــــانتــظاركم...
أختكم..
M!ss Java
