Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

questions 4-6 please Problem 4. Whth string concatenation you can also play a round of Mad Libs. If you aren't familiar with the game, hera's

questions 4-6 please image text in transcribed
Problem 4. Whth string concatenation you can also play a round of Mad Libs. If you aren't familiar with the game, hera's how it works: you have a predetermined text Where certain words have been replaced by thair part of speech, for examplo verb, noun, adjective. For each gap, you ask a friend to say a word of that part of speech. You then put those words in the gap and read out the toxt aloud. Ideally, hilarity ensues. Here's an example adapted from the very first Mad Libs book "[exclaeation]! He said [adverb] as he junped into his convertible [noun] and drove off with his [adjectivel friend." "Ron! He said better as he jumped into his convertible Tesla and drove off with his irritating friend." Wite a program that allows the user to play a single round of Mad Libs with the computer (e.g. like the round above). Problem 5. Ask the user to define what is the minimal number of characters for a word to be considered long. Aek for another input, In this cases word. Aterwards, witte a boolean expression that checks if the word provided by a user la long or not. Peoblem 8 (4 polnts). You might have heard of Dungeons 8 Degons, a pen-and-peper roleplaylng game where the player crestes their own fantasy character and then plays this character in a series of adventures. There are ditferent types of characters to choose from, but they must satisfy certalin requirements. Algenment pleces the character's ethics and morals along two axes: lawful-neutral-chaotic, and good-neutral-evl. Here Is a selection of allgnments of the characters

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions