SOS, HomeWork in Linked Lists !
/*** Happy New Year ***/
Salut Tout le Monde, Hello Everybody !
well, excuse me, i had this Home Work and i strembled Much doing it, Please help me for doing it fully and with comments.
i need someone help me in it immediatly, seriously, PLEASE !!!
here it is :
" To enable users to manipulate the natural numbers,
the computer offers a variety of types to represent
and stored in memory as type int. Unfortunately, all
types have proposed a limited capacity (eg int = 64 bits) which
limit the maximum number handled.
To resolve this problem, we propose to represent
natural numbers as lists linear chainées each
number is stored in a list of links. Each link is
stored a figure representing a number of representative:
Exemple X = 523462
"Head of the list" -> 2 -> 6 -> 4 -> 3 -> 2 -> 5 -> NULL .
It is clear that this model can represent the natural numbers, whatever their size.
Writing in C, a program that:
1. Read a string representing a natural number from the keyboard and turn it into an LLC as the previous model,
2. Multiply the number represented in the LLC by ten (10)
3. Divide the number represented in the LLC by ten (10)
4. Compare two numbers represented as llcs (result =,> or <)
5. Add a number represented in the LLC to another.
Example of the desired execution
Give a number:
For Example: 93667578465277709513532461261
What would you do:
1: Multiply by 10
2: Divide by 103: Compare with another number
4: Add a number
The number is: 936675784652777095135324612610
Give the number to add: 637
The number is: 936675784652777095135324612613247
Choice? ... Etc. "
Please help me Seriously and Imediatly, My Prayers for EveryOne want to Help me even with single a Word .