Reference no: EM132356951
Problems
1. Write a script that takes in three integer numbers from the user, calculates, and displays the sum, average, product, smallest, and largest of the numbers input.
a. You cannot use the min() or max() functions, you must provide the logic yourself
b. The calculated average must be displayed as an integer value (ex. If the sum of the three values is 7, the average displayed should be 2, not 2.3333)
2. Write a script that calculates the squares and cubes of the integers from 0 to 10, printing the results in a table format.
3. Write a script that takes in a single number of exactly five (5) digits from the user and prints each individual digit on the same line separated from one another by exactly four (4) spaces.
You will need to make sure that the user's input is exactly five (5) digits in length however and output a message indicating when it is either too long or too short.
4. Write a script that requests an integer number from the user which will determine the number of rows output in a table. Then, use a loop to create the table in following example (the number of rows will be determined by the user's input).
Write a simple number guessing game. The game will generate a random number between 1 and 10, the prompt the user to input a number between 1 and 10. Keep prompting them until they get the number correct, counting the number of guesses until they get it correct. When they finally get it, give them a congratulatory message along with how many guesses it took them. Make sure your grammar is correct, just in case they get it in a single guess.
Now we will create a modified version of the game you just had the user play. Now we will limit the number of guesses they can make to four (4). If they get it right, then display the messages from the original game. If not, then give them a game over message and encourage them to play again.
Write the recursive function which checks the order property
: A min-heap is a binary tree whose order property is that every node is strictly smaller than any of its childern. Write the recursive function is_min_heap.
|
China-russia relations
: As a rule, students should avoid choosing a topic about current or future events and making the Paper overly complicated.
|
Introduce two relevant tourism related discussion papers
: MKT01760 Tourism Planning Environments Assignment - Critique & Comparison of Two Discussion Papers, Southern Cross University, Australia
|
Planning oral briefings
: Planning Oral Briefings. describe one key action that you would have taken to improve the outcome of each. Defend your proposed action,
|
Write a script that takes in three integer numbers from user
: Write a script that takes in three integer numbers from the user, calculates, and displays the sum, average, product, smallest, and largest.
|
Discuss the type of power-personal or position
: Identify and discuss the type of power - personal or position - that John and Nancy are exhibiting.
|
Draw er diagrams for the following scenario using ms visio
: Each semester, each student must be assigned an adviser who counsels students about degree requirements and helps students register for classes.
|
Multimodal personal narrative
: Multimodal Personal Narrative - Develop a multimodal document to both visually illustrate and verbally express a personal transformation.
|
Garnered about international business perspectives
: What are two take aways that you might have garnered about international business perspectives. They can include the following:
|