Method: sumOdds(value: int): This method will sum all the odd values from 1 upto the value passed by parameter. This will display the sum as an integer value. Method: characterCount(phrase: str): This...


Method: sumOdds(value: int):
This method will sum all the odd values from 1 upto the value passed by parameter. This will display the sum
as an integer value.
Method: characterCount(phrase: str):
This method will count the number of characters in the phrase that is passed by parameter. You cannot use
any built in function ( ie len() ) and must use a looping activity. This should display the number of characters in
the phrase as an integer
Method: multiplicationPractice():
This method is to practice simple multiplication problems. The program should randomly generate two
numbers from 1-10 for the user to multiply. It should display the multiplication problem and allow the user to
answer the problem. It should display if the user got the answer correct or incorrect. The activity should
continue until the user has gotten 3 different practice problems correct.
Method: order(value1: int, value2: int, value3: int):
This method is to order the 3 passed value from least to greatest. It should display the 3 values passed by
parameter from least to greatest.



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here