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 delete a number at specific position in array or all the numbers in range from user input. Write method bodies of Delete(int number, int position) and Delete(from num, to position) Below are the explanation of functionalities of methods: 1. bool IsEmpty() // This method will check if array is empty 2.bool IsFull() //This method will check if array is full 3. void Delete(int element, int position) // This method will delete the number from specified index and moves remaining data to left (self intelligence). 4. void Delete(int from,int to) // This method takes two parameters as a range from user and then deletes all the numbers in that range. Important: Use method overloading in main (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 delete a number at specific position in array or all the numbers in range from user input. Write method bodies of Delete(int number, int position) and Delete(from num, to position)
Below are the explanation of functionalities of methods:
1. bool IsEmpty() // This method will check if array is empty
2.bool IsFull() //This method will check if array is full
3. void Delete(int element, int position) // This method will delete the number from specified index and moves remaining data to left (self intelligence).
4. void Delete(int from,int to) // This method takes two parameters as a range from user and then deletes all the numbers in that range.
Important: Use method overloading in main
(using C++ with OOP)
Step by step
Solved in 2 steps