IF Then Else Selection Structure in Vb6

A selection structure is used yo choose among alternative courses of action or instruction.
Like for Example the if the Required Number is greater than 50,so we can coded it like
this:

If NumberOfPeople >50 then
  MsgBox"You Meet the Number of People"
   Else
   MsgBox"Sorry!,You Did Not Meet the Number of People"
End If

the  pseudo-code of this is

If the number of people is greater than 50
    display that you meet the number of people
Else
    display that you did not meet the number of people
End If

Happy Coding
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Leave a comment

Copyright @ Codes-47.Blogspot.Com. Powered by Blogger.