Computers and Technology

(1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a single line separated by a space. (Submit for 1 point) Ex: If the input is:

yellow
Daisy
6
the output after the prompts is:

You entered: yellow Daisy 6
Note: User input is not part of the program output.

(2) Output two passwords using a combination of the user input. Format the passwords as shown below. (Submit for 2 points, so 3 points total).

Ex: If the input is:

yellow
Daisy
6
the output after the prompts is:

You entered: yellow Daisy 6

First password: yellow_Daisy
Second password: 6yellow6

(3) Output the length of each password (the number of characters in the strings). (Submit for 2 points, so 5 points total).

Ex: If the input is:

yellow
Daisy
6
the output after the prompts is:

You entered: yellow Daisy 6

First password: yellow_Daisy
Second password: 6yellow6

Number of characters in yellow_Daisy: 12
Number of characters in 6yellow6: 8

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:00, brookerebman15
Which type of tab stop is most for weights and measurements?
Answers: 1
image
Computers and Technology, 23.06.2019 13:50, mrfishyyyy
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
image
Computers and Technology, 25.06.2019 08:50, pennygillbert
Write multiple if statements: if caryear is before 1968, print "probably has few safety features." (without quotes). if after 1971, print "probably has seat belts.". if after 1991, print "probably has anti-lock brakes.". if after 2002, print "probably has airbags.". end each phrase with period and newline. ex: caryear = 1995 prints:
Answers: 2
image
Computers and Technology, 25.06.2019 13:30, jaycie16
Which tab contains the font style attributes? home insert review view
Answers: 1
Do you know the correct answer?
(1) Prompt the user to enter two words and a number, storing each into separate variables. Then, out...

Questions in other subjects: