Question: C++ code and comments would help CSE 232 Fall 2017 Programming Project 04 This assignment is worth 30 points (3% of the course grade) and

 C++ code and comments would help CSE 232 Fall 2017 ProgrammingProject 04 This assignment is worth 30 points (3% of the coursegrade) and must be completed and turned in before 11:59 on Monday,

C++ code and comments would help

CSE 232 Fall 2017 Programming Project 04 This assignment is worth 30 points (3% of the course grade) and must be completed and turned in before 11:59 on Monday, October 2 Assignment Overview This assignment wil1 give you more experience with functions and a little work with strings Background Basically, we are going to play games with an integer number and its sequence of digits. We can classify numbers as to the order of its digits and their relationship. There are 4, rather odd, categorizations which are metadrome: An integer whose digits are strictly increasing: 12345 is a metadrome, 11223 is not. plaindrome: An integer whose digits are either the same or increasing: 11223 is a plaindrome, 11221 is not katadrome: An integer whose digits are strictly decreasing: 54321 is a katadrome, 54432 is not. . nialpdrome: An integer whose digits are the same or decreasing: 554432 is a nialpdrome, 54323 is not. nondrome: If an integer is not classified as any of the above, it is a nondrome Different Bases to a number We are also going to allow you to make the above distinctions in the context of a numeric base. For example, if the number were base 2, then only 0,1 are allowed in the integer. If the number were base 16, then 0-9 and a-f would be allowed. We are going to extend that idea all the way to base 36 by allowing the lower case letters a-z to signify a multidigit number: a-10, b-l , f-15, , z- 35 Project Description / Specification Reminder Just a reminder. We provide exactly our function specifications: the function name, its return type, its arguments and each argument's type. Do not change the function declarations! Functions function: metadrome: Boolean return. Arguments are a stringn, the input number, and an int base If n is a metadrome in the provided base the function returns true, otherwise it returns false function: plaindrome: Boolean return. Arguments are e a stringn, the input number, and an int base If n is a plaindrome in the provided base the function returns true, otherwise it returns false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!