Write a program FLOWCHART that lets the user enter a sequence of numbers. The pr
ID: 3549903 • Letter: W
Question
Write a program FLOWCHART that lets the user enter a sequence of numbers. The program should stop when it notices that the last two numbers entered were identical. At this point, it should report how many entries were made. For example, the user could enter the following sequence:
after which the program would stop and output 9 (because the user made 9 entries).
Note that the program is not counting distinct numbers entered - if the same number is entered multiple times, it should be counted multiple times. The user should NOT be asked for the length of the sequence in advance. The length of the sequence is up to the user and will not necessarily be a multiple of 3.
Your program may use the following operations:
Explanation / Answer
please rate - thanks
done with RAPTOR
a free download
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.