Write a C1500 program that will accept as input a series of numbers and count how many times two specific numbers are en

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Write a C1500 program that will accept as input a series of numbers and count how many times two specific numbers are en

Post by answerhappygod »

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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply