Challenge 3
print("The area is ", area)
width = input("Please enter a width")
• asks t...
Computers and Technology, 24.12.2021 14:00 redrosesxx
Challenge 3
print("The area is ", area)
width = input("Please enter a width")
• asks the user to input the
width of a rectangle
• asks the user to input height of
a rectangle
calculates the area
outputs the result
area = width * height
width = int(width)
.Put the statements in order to solve
the challenge
height = input("Please enter a height")
height = int(height)
Answers: 3
Computers and Technology, 22.06.2019 06:00
Write a program that uses a widgetviewer object to do the following: generate two random integers between 1 and 9 (inclusive). name one of them x, the other y. display them to the user using jlabel objects. create a jlabel object displaying the text "enter an operation number." create a jtextfield for the user's input. create a jbutton displaying the text "press here when you've entered your operation." use addandwait to add it to the widgetviewer object. when the user clicks the jbutton, evaluate operation in the following order to determine the one and only mathematical operation to perform on x and y. use a jlabel to display the result. if operation is between 1 and 10 inclusive, add x and y. if operation is evenly divisible by 4, subtract y from x. if operation is evenly divisible by 5, use integer division to divide y into x. if operation is an even number, use floating point division to divide y into x. if none of the other tests on operation apply, multiply x and y. note: operation can be negative or zero.
Answers: 2
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
Computers and Technology, 24.06.2019 17:00
What are some examples of what can be changed through options available in the font dialog box? check all that apply. font family italicizing bolding pasting drop shadow cutting character spacing special symbols
Answers: 2
Computers and Technology, 24.06.2019 21:30
Write an algorithm to check if a number is even or odd and show with flow chart step by step
Answers: 2
Computers and Technology, 21.06.2020 07:57
Mathematics, 21.06.2020 07:57
Mathematics, 21.06.2020 07:57
Mathematics, 21.06.2020 07:57
Social Studies, 21.06.2020 07:57
Mathematics, 21.06.2020 07:57
Biology, 21.06.2020 07:57
History, 21.06.2020 07:57