an intelligent number editor system, a menu driven application having following methods. The program will first check if array is empty or not by calling Isempty() method in main. The program then asks for user through menu that if he wants to insert a number at specific position in array or at proper position. Write method bodies of InsertinArray(int number) and InsertinArray(int num, int position) Below are the explanation of functionalities of methods: 1.Is empty() // This method will check if array is empty 2.Is full() //This method will check if array is full 3.InsertinArray(int element) //This method is intelligent enough to place the number at desired position in sorted as well as unsorted array and then self organize the data to right. 4.Insert(int element, int index) // This method will store the element at desired index, if user stores in sorted array than compiler prompts that your order will disturb, would you want to enter the element? (using C++ with OOP)
Design an intelligent number editor system, a menu driven application having following methods.
The
The program then asks for user through menu that if he wants to insert a number at specific position in array or at proper position. Write method bodies of InsertinArray(int number) and InsertinArray(int num, int position)
Below are the explanation of functionalities of methods:
1.Is empty() // This method will check if array is empty
2.Is full() //This method will check if array is full
3.InsertinArray(int element) //This method is intelligent enough to place the number at desired position in sorted as well as unsorted array and then self organize the data to right.
4.Insert(int element, int index) // This method will store the element at desired index, if user stores in sorted array than compiler prompts that your order will disturb, would you want to enter the element?
(using C++ with OOP)
Step by step
Solved in 2 steps