Visual Basic Tutorial - 15 - Nested If Statements

  Рет қаралды 108,019

thenewboston

thenewboston

Күн бұрын

Пікірлер: 29
@claudinego4353
@claudinego4353 9 жыл бұрын
I like how every video is short because the information taught became easier to digest :)
@noobfisherman1626
@noobfisherman1626 4 жыл бұрын
9 years later and only 95k views??? this should me in the 5 millions.. Good vid. Thanks. I wish I have the half of your subs..
@Blacklight6000
@Blacklight6000 13 жыл бұрын
@Masteryxx the code that generates the question "Do you have insurance" is writen outside the if statment so no matter what your answer at the first question is the program will display the second one. Just in case you haven't figure it out by now.
@TYMON399
@TYMON399 11 жыл бұрын
I have a question. Can you do If age = >16 Then?
@sheldon123ize
@sheldon123ize 12 жыл бұрын
Lol its different to JavaScript too most languages have there minor differences but i would like to get to know those differences will help you to understand better why they are done the way they are done... I LOVE Javascript but i HAVE to learn this to get a certificate :P but this guy makes it interesting :)
@daniellarosssantos8459
@daniellarosssantos8459 4 жыл бұрын
Thank you for this video! It helps a lot
@HexPlays
@HexPlays 13 жыл бұрын
i cant believe how much fun learning could be. who new lol. (coming from a 17 year old freshman haha)
@madhukamelan7014
@madhukamelan7014 6 жыл бұрын
thanks sir. you solved my big problem
@forgottencameras
@forgottencameras 4 жыл бұрын
It is throwing flags for unneeded values on both variables (= Nothing not needed); is this because of the updates done to VB since 2011 telling us it is not needed or is this just something that is no longer needed and discouraged when writing VB in these newer versions? Also this VB tutorial is better than the stuff on SkillShare and is better than college textbooks and the "...For Dummies/...For Idiots" books I've looked at.
@carstorm85
@carstorm85 13 жыл бұрын
@sociomaladaptivist error: line line 6. LikeThis expected no arguments but received 1
@serpent035
@serpent035 10 жыл бұрын
Great video's Love them...!
@Masteryxx
@Masteryxx 13 жыл бұрын
the If statement will only work if age = 16. So why when you have age = 18 the question: "Do you have insurance" will appear ?
@joshmason11
@joshmason11 12 жыл бұрын
I would like a msgbox to appear before submiting. if they press yes then go to slide 3 Dim intresponse As Integer Private Sub CommandButton1_Click() correct = 0 intresponse = MsgBox("Are you sure you want to submit?", 36, " ") If intresponse = vbYes Then If TextBox1.Text = "2^6 - 63" Then correct = correct + 1 q1 = "Correct" SlideShowWindows(1).View.GotoSlide (3) Else correct = correct + 0 q1 = "Incorrect" SlideShowWindows(1).View.GotoSlide (3) End If TextBox1.Text = "" Please reply!
@MayerHonza
@MayerHonza 12 жыл бұрын
why dont we use if Age = 16 And hasInsurance = true Than Console.Writeline("blahblah") else console.writeline("blahblah") end If ?
@AhiungLim
@AhiungLim 10 жыл бұрын
yeah, i only added ">" symbol to fix that logic.
@HikikomoriDev
@HikikomoriDev 11 жыл бұрын
2 people got pulled over....
@Shaiya1Noob
@Shaiya1Noob 11 жыл бұрын
ty vm
@TheDesius
@TheDesius 11 жыл бұрын
This is the same right? If age = 16 and insurance = true then
@TheSatyrical
@TheSatyrical 12 жыл бұрын
He doesn't use "And" because what if you are 16 but don't have insurance? You wouldn't be able to say something along the lines of, "You can drive but be safe without insurance." Well, you could, but using nested if statements is much easier.
@RalphNgOfficial
@RalphNgOfficial 11 жыл бұрын
good video
@joshmason11
@joshmason11 12 жыл бұрын
My previous comment was supposed to be spaced out, sorry if it's a bit hard to read:/
@LightCodeDemonH
@LightCodeDemonH 11 жыл бұрын
( and ) required = ("derp") Console.ExplodeViolently is not a valid expression.
@TheVerbalAxiom
@TheVerbalAxiom 12 жыл бұрын
Dude always forgets the "Console.ReadLine" Lol
@salomonmartinez3874
@salomonmartinez3874 10 жыл бұрын
yeyeyeye thank you
@xXSellizeXx
@xXSellizeXx 12 жыл бұрын
Programming without { and } is so weird. :(
@RahilWazirAli
@RahilWazirAli 12 жыл бұрын
age => 18+ :)
@TYMON399
@TYMON399 11 жыл бұрын
Ops...sry didn't watch till the end :L
Visual Basic Tutorial - 16 - Conditional Operators
7:34
thenewboston
Рет қаралды 92 М.
Visual Basic.NET Programming. Beginner Lesson 9. Selection with If Statements
10:09
Computer Science Lessons
Рет қаралды 34 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
C++ Nested IF ELSE and  IF ELSEIF | CPP Programming Video Tutorial
5:31
Visual Basic Tutorial - 13 - If Statement
5:43
thenewboston
Рет қаралды 172 М.
Visual Basic .NET Tutorial 3 - Using If then Else Statements in Visual Basic
4:59
Visual Basic Tutorial - 17 - Logical Operators
6:32
thenewboston
Рет қаралды 93 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 334 М.
Nested If Statement in Visual Basic
5:20
Computer Cave
Рет қаралды 4 М.
Visual Basic Tutorial - 14 - Else If And Else
6:41
thenewboston
Рет қаралды 128 М.
Visual Basic .NET Tutorial 17 - Understanding For Loop in VB.NET
5:19
ProgrammingKnowledge
Рет қаралды 119 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН