Click here to Skip to main content
15,921,156 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB.NET
Sub DatingGame()

Dim P As Integer
Dim C As Integer

P = InputBox("How is his/her personality on a scale of 1 to 5?")

If P < 3 Then
  MsgBox "Don't date him/her?"
ElseIf P = 3 Then
  C = InputBox("How cute is he/she?")
    If C < 3 Then
      MsgBox "Don't date him/her/"
    Else
      MsgBox "As least one date won't hurt."
    End If
  Else
    MsgBox "Definitely date him/her."
End If


End Sub


What I have tried:

I just am very confused, I think it should be easy but I don't know.
Posted
Updated 14-Apr-16 8:27am

1 solution

Start here: how to draw a flowchart - Google Search[^]
But if you can't do that on your own with only two "if" conditions... :sigh:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900