Question: Function Name: toASCII Inputs: 1. (char) a character Output: 1. (double) the ASCII value of the input Description: 1. Write a function called toASCII that

Function Name: toASCII Inputs: 1. (char) a character Output: 1. (double) the ASCII value of the input Description: 1. Write a function called toASCII that takes in a character and outputs the ASCll value of that character. Examples: answer 1=toASCII(b) % answer 1=98 answer 2=toASCII(A) \%answer2 =65 answer 3=toASCII(B) \%answer3 =66
Step by Step Solution
There are 3 Steps involved in it
To accomplish this task you can create a function called toASCII that takes a charac... View full answer
Get step-by-step solutions from verified subject matter experts
