Question: ICE2 In this ICE you will practice writing functions and follow guidelines discussed in class. Create the following functions and a main to test them.

 ICE2 In this ICE you will practice writing functions and followguidelines discussed in class. Create the following functions and a main to

ICE2 In this ICE you will practice writing functions and follow guidelines discussed in class. Create the following functions and a main to test them. Functions: - Function called drawStars: this function returns nothing. It takes a non decimal number and when called will print stars equal to the value of its parameter. - For example drawStars(5) will generate the following output: - Function called printStatement: this function returns nothing. It takes a string parameter and print the contents of that string. - For example printStatement("This is ICE2") will generate the following output: This is ICE2 - Function called multiplyNumbers: this functions takes two non decimal parameters, calculates and return their product (value of their multiplication). - Overload the multiplyNumbers to do the same job described in the previous step but using decimal parameters. Main: Your main should test your functions in the following order: - Call drawStars to generate 15 stars. - Call printStatement to generate the following message: "ICE2: Function Practice Start" - Call multiplyNumbers with non decimal numbers of your choice and make sure to print the result. - Call multiplyNumbers with decimal numbers of your choice and make sure to print the result. - Call printStatement to generate the following message: "ICE2: Function Practice End" - Call drawStars to generate 15 stars. General Requirements - Include an opening comment with your name, the name of the program, the date, and a short description. - Follow the style guide! Use descriptive names and sensible datatypes for variables, constants, arrays, functions, etc. that follow our naming conventions. Use good spacing and make sure braces ({}) are located where they are supposed to be. - Output messages must be meaningful. Displaying values is not enough, the user must understand what he is seeing. - Take screen shots of your code and its output. Put them in a word document or pdf. The screenshots must be clear. You can have the code and output in the same screenshot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!