انا عندي برنامج جافا واني جديده في الجافا ومو عارفه اسويه ممكن احد يتكرم ويساعدني في حله واكون شاكرة جدا
هذا السؤال:
create a class huge integer that uses a 40 element array (the number not acceeding 40 digit & read it as string then put it in array) of digits then store the value of a hugeinteger that consists od at most 40 digits. the class should support the following opearations(behavior):
1.allows the user to input the value of the huge integer.
2. display the huge integer number
3. increment the huge integer by 1
4.increment the huge integer by another huge integer
5.decrement the huge integer by 1
6.decrement the huge integer by another hugeinteger
7. compare a huge integer with the value of the huge integer object and find if they are equal
8. compare a huge integer with the value of the huge integer object and find if they are not equal
9. compare a huge integer with the value of the huge integer object and find if the object value is greater than
10. compare a huge integer with the value of the huge integer object and find if the object value is less than
11.check if the value of the huge integer is equal to zero
ارجوا المساعه باقرب وقت ممكن لغايه يوم الثلثاء 14/10/2003
مساءا
شكرا