Answer to Question #255454 in C++ for JacksonCrews

Question #255454

Assignment: Functions

char toUpper(char) – checks if a char is a lowercase alphabetic value. If it is, return the uppercase equivalent. If it isn’t, return the original char. Depends on no other functions.


string toUpper(string) – iterates over each character in the string and capitalizes it with the toUpper(char) function. Depends on the toUpper(char) function.


string fixNum(string) – returns a string with the following replacements made to the string argument:

Before: After:

O 0

I 1

E 3

S 5

aa 7


int c_to_i(char letter) – Checks if a char is numeric. If it is, return the integer equivalent. If it is not, return -1. Depends on no other functions.


double myPow(int, int) – Returns the first argument raised to the power of the second argument. (Be careful, this function should work for all positive and negative integers).



1
Expert's answer
2021-10-22T18:35:35-0400
Dear JacksonCrews, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS