Menu

[Solved]Write Function Printbio Takes Parameters Three Strings Representing Name Age Color Functio Q37224239

Write a function printBio() that takes as parameters three strings representing: a name, age, and color. The function should

Write a function printBio() that takes as parameters three strings representing: a name, age, and color. The function should print the messages seen in the screenshot. If any of the parameters are an empty string, the function should print a message indicating that the note cannot be printed. Pay attention to the upper/lower case in the message printed. In order to receive full credit, your program should print messages exactly as shown in the screenshot below. >printBio(” mushi”, 2, “STRAWBERRIES” Hello! My name is MUSHI I am 2 years old Strawberries are my favorite fruit! >printBio(“Ned”, 3, “ALL” Hello! My name is NED I am 3 years old All are my favorite fruit! >printBio(“”, 3, “ALL”) Parameters must not be empty Show transcribed image text Write a function printBio() that takes as parameters three strings representing: a name, age, and color. The function should print the messages seen in the screenshot. If any of the parameters are an empty string, the function should print a message indicating that the note cannot be printed. Pay attention to the upper/lower case in the message printed. In order to receive full credit, your program should print messages exactly as shown in the screenshot below. >printBio(” mushi”, 2, “STRAWBERRIES” Hello! My name is MUSHI I am 2 years old Strawberries are my favorite fruit! >printBio(“Ned”, 3, “ALL” Hello! My name is NED I am 3 years old All are my favorite fruit! >printBio(“”, 3, “ALL”) Parameters must not be empty

Expert Answer


Answer to Write a function printBio() that takes as parameters three strings representing: a name, age, and color. The function sh… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *