Computers and Technology, 14.02.2020 04:14 sherry59Sherry59
Two variables named largest and smallest are assigned for you. Use these variables to store the largest and smallest of the three integer values. You must decide what other variables you will need and initialize them if appropriate.
Write the rest of the program using assignment statements, ifstatements, or elif statements as appropriate. There are comments in the code that tell you where you should write your statements. The output statements are written for you.
Execute the program. Your output should be:
The largest value is 78
The smallest value is -50
# LargeSmall. py - This program calculates the largest and smallest of three integer values.
# Declare and initialize variables here
firstNumber = -50;
secondNumber = 53;
thirdNumber = 78;
# Write assignment, if, or if else statements here as appropriate
# Output largest and smallest number.
print("The largest value is " + str(largest))
print("The smallest value is " + str(smallest))
Answers: 3
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
Two variables named largest and smallest are assigned for you. Use these variables to store the larg...
Mathematics, 06.01.2021 21:20
Mathematics, 06.01.2021 21:20
Mathematics, 06.01.2021 21:20
Mathematics, 06.01.2021 21:20
Mathematics, 06.01.2021 21:20
Arts, 06.01.2021 21:20
Biology, 06.01.2021 21:20
Spanish, 06.01.2021 21:20
English, 06.01.2021 21:20
Chemistry, 06.01.2021 21:20
Social Studies, 06.01.2021 21:20
Biology, 06.01.2021 21:20