Write a c program to do the following the program will read


Question: Write a C++ program to do the following. The program will read integers values one at a time from standard input (cin) until you read the value 150.

Assume that the number of values read in is at least 1 and less than or equal to 100

As each value is read in, determine whether or not it is greater than 150. if the value is greater than 150, put it into the next available  position in the array called large. if the value is less than 150, put it into the next available  position in the array called small.

After processing all the values and reading in 150, print how many values are stored in each array. Then print the value stored in large , followed by the value stored in small

You need to make well-formed and clean code. You should not copy and paste the code from other source.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c program to do the following the program will read
Reference No:- TGS0947010

Expected delivery within 24 Hours