Assignment: (7 points)These programs are individual assignments.
Remember that these programs should have a comment at the top of the file stating your name and what the program does.
0) Get the file sentinel.cpp from the server. Run it and see what it does. Does it work as the comment indicates? (Hint: no)
End result: the program should read in integers from the user until they type a negative number. The program should then report:
handin cmsc160 labboxtops sentinel.cpp
1) A population of animals currently has 5000. Projections are that the population will increase at 4% a year. How long will it take for the population to double in size?
Write a program that determines and reports the answer to this question.
handin cmsc160 labpopulation yourfilename.cpp
For each of the following snippets: