Question: 2 2 . 1 ) Print greeting Write a function print _ greeting that consumes a name ( as a string value ) and prints
Print greeting
Write a function printgreeting that consumes a name as a string value and
prints out Hello X where X is the given name. So for example, if the name
"Bruce Wayne" was passed in the function should print Hello Bruce Wayne.
Write at least one unit test, but consider carefully what the function should
return; you should not explicitly be returning anything so what is returned by
default?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
