- 0
create if...elseif statement Visual basic
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 3 replies
- 8 views
-
- 0 answers
- 3,051 views
-
- 3 answers
- 4,238 views
-
- 0 answers
- 2,262 views
-
Microsoft releases version 1.7 of Windows Template Studio
By Sszecret,
- windows
- windows template studio
- (and 6 more)
- 0 replies
- 277 views
-
Question
soccerstar206
Write an If..ElseIf statement (or Select Case if you prefer) given the following:
decTicketPrice ?ticket price
intAge ?age of customer
If customer's age is less than 6, ticket price is Free
If customer's age is 6 to 12, ticket price is $3.50
If customer's age is 13 to 19, ticket price is $4.50
If customer's age is over 62, ticket price is $5.50
Otherwise, ticket price is $7.50
Link to comment
Share on other sites
58 answers to this question
Recommended Posts