Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

We've been talking about abstraction and ADT's (Abstract Data Types), Using the ADT defined below, create a homegrown string data type. These are the...

Using the ADT defined below, create a homegrown string data type. These are the deliverables that must be supplied:The code implementing the ADT.A simple program to prove that it works.The only additional restriction I'll put on you is that you must use a simple array of characters to store the values. Remember, don't get carried away. Create a simple and useable design.ADT: string============================================================Domain: the local character set (for this exercise, ASCII will be fine)...A...Z and a...z0...9the usual punctualion marks and mathematical symbolsOperations:Construct an empty stringConstruct an initialized stringAssign a new value to a stringAppend new values on the end of an existing stringDisplay the contents of a stringRelational Operations:Equal to is true if two string are the sameNot equal to is true if two string are differentLess than is true if the first string is smaller than the second stringLess than/equal to true if the first string is either the same as or smaller than the second stringGreater than true if the first string is larger than the second stringGreater than/equal to true if the first string is either the same as or larger than the second string

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question