So, what have you written??
Type: Posts; User: Alan.Brown
So, what have you written??
Where is your code?
How much are you paying for someone to do your homework?
Read the posting in the third Announcement at the top of this forum page. Don't waste everyone else's time.
Yes - the square root. I was trying to give a simplistic reply to the OP
Do a search for "Sieve of Eratosthenes" in wikipedia - it will give you some examples of how to check for primes by hand.
Given a prime - 17571 - divide by every integer up to half the value of...
Not the way to talk to someone who has taken the time and trouble to answer your post and offer some suggestions. You are wasting the time of all the people in here who give their time and...
Line 2 - DOCTORATE - Letter 'O'
Line 12 - D0CT0RATE - Zeroes instead of the letter 'O'
Try to compile the program. Any error messages will give an indication as the what the problem is. If...
Post whatever code you have already written so we can see what you are doing.
In your listNode[B] structure you will need a counter initialised to 1 each time a node is created. Then each time a food item is entered you need to scan your list to see if it has been entered...
Have you tried to compile and run your code. That should be an easy task - even for you.
If you have, post the output here. Maybe it works!! Beginners luck!!