Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 6 Visual Basic allows programmers to implement simple as well as complex programming solutions. (a) Write a program that requests user's name, user's year

image text in transcribed

Question 6 Visual Basic allows programmers to implement simple as well as complex programming solutions. (a) Write a program that requests user's name, user's year born and current year. Program will calculate user's age and then show the output in a text box along with name and age. (10 marks) (b) Determine the output displayed in the list box when the button is clicked. i. For j As Integer = 2 TO 8 Step 2 1stBox.Item. Add (j) Next 1stBox.Item.Add("Who do we appreciate?") (6 marks) ii. For i As Integer = 1 to 3 IstTable.Items.Add( i & ""&i^2) Next (4 marks) (c) Using If...Else loop, write a program that requets user's Grade Point Average (GPA) and then displays the status as Dean List or Not Dean List. Dean List is awarded for GPA above 3.75. (5 marks) [25 Mark]

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

Modern Database Management

Authors: Heikki Topi, Jeffrey A Hoffer, Ramesh Venkataraman

13th Edition

0134773659, 978-0134773650

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago