subject

Develop a C-program that helps user managing an 1-D array of integer numbers (maximum of 100 elements) , with initial number of elements is 0, using the following simple menu: 1-Add a value
2-Search a value
3-Remove the first existence of a value
4-Remove all existence of a value
5- Print out the array
6-Print out even values in array
7-Print out the maximum value of the array
8-Print out values in a range
9- Print out the array in ascending order (bubble sort)
0- End.

-When the option 1 is chosen, user will enter a valid value then it is added to the end of the array.
-When the option 2 is chosen, user will enter a valid value. If that value exists in the array, the program will print out all the locations of that value, otherwise it will print the message not found.
-When the option 3 is chosen, user will enter a valid value. If the value exists in more than one position, delete the first number. If the number does not exist, print the message not found.
-When the option 4 is chosen, user will enter a valid value. If the value exists in more than one position, delete all those values.
-When the option 5 is chosen, the values in the array will be output.
-When the option 6 is chosen, even values in array will be printed out.
-When the option 7 is chosen , the maximum value in the array will be printed.
-When the option 8 is chosen, user will enter 2 values, minVal and maxVal, the values in array which are between minVal and maxVal are printed out (minVal <=value<=maxVal).
-When the option 9 is chosen, values in array will be printed out in ascending order (Note: sort on sub-array, use bubble sorting algorithm).
-When the option 0 is chosen, the program ends.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
question
Computers and Technology, 23.06.2019 07:00
1. you have a small business that is divided into 3 departments: accounting, sales, and administration. these departments have the following number of devices (computers, printers, etc.): accounting-31, sales-28, and administration-13. using a class c private network, subnet the network so that each department will have their own subnet. you must show/explain how you arrived at your conclusion and also show the following: all available device addresses for each department, the broadcast address for each department, and the network address for each department. also, determine how many "wasted" (not usable) addresses resulted from your subnetting (enumerate them).
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
You know the right answer?
Develop a C-program that helps user managing an 1-D array of integer numbers (maximum of 100 element...
Questions
question
History, 08.12.2021 05:00
question
Mathematics, 08.12.2021 05:00
question
Mathematics, 08.12.2021 05:00
question
Mathematics, 08.12.2021 05:00
Questions on the website: 13722362