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

In this ICE you will practice writing functions and follow guidelines discussed in class. Create the

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. o 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. o For example printStatement("This is ICE2") will generate the following output: This is ICE2 - Function called multiplyNumbers: this function takes two non decimal parameters, calculates and return their product (value of their multiplication). Overload the multiply Numbers to do the same job described in the previous step but using decimal parameters. - A palindrome is a word, phrase, number, or other sequences of characters which reads the same backward or forward. Examples include "radar", "level", and "deified". o Write a recursive method in Java named isPalindrome that takes a String as its parameter and returns a boolean value indicating whether the string passed is a palindrome or not. The function should be case insensitive and consider only alphabetic characters (ignoring spaces, punctuation, and numbers). isPalindrome ("Radar"); // Output: true // Output: false isPalindrome ("Hello"); isPalindrome ("A man, a plan, a canal, Panama!"); // Output: true - Each of your functions must have docstyle function headers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Function called drawStars Java public static void drawStarsint n for int i 0 i n i System... View full answer

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 Programming Questions!