Question: Please write the attached 'C' Programming assignments and submit c files and word/text docs are documented in the detailed instructions below. Thank you so much

Please write the attached 'C' Programming assignments and submit c files and word/text docs are documented in the detailed instructions below. Thank you so much

****All programs must be written using the VC++ 2015 compiler****

A) Required Items/Software:

Visual C++ 2015 (Visual Studio 2015 Professional or Visual Studio Express 2015)

MS Word or Notepad WinZip (or similar)- for extracting files

Textbook: PROGRAMMING IN C, 4th Edition Stephen G Kochan.Please write the attached 'C' Programming assignments and submit c files and

4. An interesting problem in number theory is sometimes called the "necklace problem". This problem begins with 22 single-digit numbers. The next number in the sequence is obtained by adding the 2 numbers together and dropping the "10's" digit (i.e. 8 9 17, drops the 1 to get 7). This can be done by modding (remainder operator) the answer by 10. The process continues until the necklace closes that is, it returns to the original 2 numbers. Here is an example that starts with the numbers 1 and 8: 1, 8, 9, 7, 6, 3, 9, 2, 1, 3, 4, 7, 1, 8. Write a C program that prompts the users for two single digit integers and then displays the sequence and the number of steps taken. Check for valid inputs (negative values). Refer to the sample output below. Sample Run: Enter a start digit 1 Enter a stop digit 8 Sequence 1 89 7 6 39 2 1 3 4 7 1 8 Steps taken 12 Name the program: N where XX are your initials

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!