reset password
Author Message
jsong33
Posts: 4
Posted 20:08 Dec 02, 2016 |

for the "Goes through the linked list and replaces every number divisible by 3 with 100 and every number divisible by 10 with 1000. Print the linked list to show the new values." part, how do you want us to handle numbers like 0 and 30?

Do you want us to check for 3 first and then else if for 10?

msargent
Posts: 519
Posted 20:11 Dec 02, 2016 |

Ignore 0, use 1000 if divisible by both 3 and 10.

Last edited by msargent at 20:11 Dec 02, 2016.