Write a C1500 program that will accept as input a series of numbers and count how many times two specific numbers are en
Posted: Thu Jul 14, 2022 2:13 pm
Write a C1500 program that will accept as input a series ofnumbers and count how many times two specific numbers are entered.The two specific numbers are obtained from the first two digits andthe last two digits of your U of M student number. (As inAssignment 1, if the last 2 digits are 00, use 100 instead.) Storethese numbers into memory. This program will keep accepting numbersuntil a value of 0 is input. This requires your program to performlooping, since you don’t know beforehand how many non-zero valueswill be entered. Each time a non-zero number is entered, compare itto your specific numbers, and if it is equal, count themaccordingly. Once the zero value is entered, output the count forboth numbers