- 0
Pseudocode Help!
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Unified Copilot experience will land in Visual Studio 17.10, due in May
By zikalify,
- microsoft
- visual studio
- (and 9 more)
- 3 replies
- 4 views
-
Microsoft introduces TypeScript 5.4: Explore the latest features and enhancements
By zikalify,
- microsoft
- typescript
- (and 4 more)
- 11 replies
- 2 views
-
Nvidia, Hugging Face and ServiceNow release StarCoder2 coding LLMs
By zikalify,
- nvidia
- hugging face
- (and 4 more)
- 2 replies
- 3 views
-
IT Skills: Top 10 Programming Languages for 2023 — Free report
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 2 views
-
Learn Java 17 Programming - Second Edition ($31.99 Value) FREE download
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 4 views
-
Question
bs819
I am taking a basic programming class in college this semester. I am not learning a specific language in this class. He basically says follow the book as much as possible, but if it makes sense, you get credit.
I want to know if I can set up an If-Then-Else-If statement in this way?
If packages >= 10 AND packages <= 19 Then
Display "You have a 20% discount" Then
Set total = (99 * 0.2) + 99 Then
Display total
Else If packages >= 20 AND packages <= 49 Then
Display "You have a 30% discount" Then
Set total = (99 * 0.3) + 99 Then
Display total
End If
Also, this is not homework. This is just extra practice I am attempting on my own. I'm not trying to cheat!
Link to comment
Share on other sites
10 answers to this question
Recommended Posts