1 attachmentsSlide 1 of 1attachment_1attachment_1
Unformatted Attachment Preview
Write a visual basic program that has:
1. A text box for the user to provide data for input of a number for the year.
2. A label over the text box with text of Year.
3. A compute button that once the user clicks the compute button it will display one of 3
messages based on the year the user put in
a. If the year is more than 2020 the message will say Hey Doc how cool is the
b. If the less than 2020 the message will say Time travel to the past is dangerous! It
can cause an alternate timeline.
c. If the year is 2020 the message will say Weirdest year of my life. Hopefully!
Redundant IF statements are not allowed.
With the pseudo code below, create and code a button labeled Part 2 that performs the same logic
as the loop written below. This button will be created on the form you have already created.
a = 10
b = 100
Start the loop
subtract 1 from a
subtract 1 from b
print the values of a and b on a paper printout.
Loop While (a >=1) and (b>= 91)
Print “Your Name the end of the class”
You can use the following line of code as a helpful reminder.
e.Graphics.DrawString(thing to print, New Font(“Arial”, 12),Brushes.Black,x,y)
Purchase answer to see full
Timeline Visual Basic Project
User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.