Write a function customSpam () that takes as parameters a string containing a first name followed…
Write a function customSpam() that takes as parameters a string containing a first name followed by a space followed by a last name, a string representing a dollar amount spelled out in words, and string representing an e-mail address and prints a customized spam solicitation to the person using their name, the dollar amount, and the e-mail address. The name should use a capitalized letter for the first and last name regardless of the capitalization of the string entered and the dollar amount should be in all caps with spaces between each letter.