If Statement on visual basic

Asked By 0 points N/A Posted on -
qa-featured

What is an If statement and what can it do to the visual basic that may be helpful for the programmer?

SHARE
Best Answer by Hoting Gracia
Best Answer
Best Answer
Answered By 5 points N/A #103168

If Statement on visual basic

qa-featured

Visual Basic is a language of .net which is developed by Microsoft Loop is defined the execution revolves around until the condition get satisfied and for kloop is majorly used in many programs for smooth execution.

Syntax of the for loop itself defines us how the loop gets executed by condition as follows..
 
for(k=0;k<5;k++)–> k is an variable and here there are 3 major parts that is initialization is done for the value k to 0 and then the condition is tested if true then increment is done and when ever it is FALSE comes out of the loop.
 
Setting loop to initial value, testing the loop condition which is defined in the loop and finally increments if satisfied or else comes out from the loop if not satisfied the condition and jumps out from the program.
 
In VB it is easy to use for loop as syntax will be generated automatically only the condition is required to process the for loop condition.
 
Thank you.
Answered By 40 points N/A #103169

If Statement on visual basic

qa-featured

Visual basic or commonly known as VB is a sole product of Microsoft corporation , its an advanced form of BASIC or a visually oriented BASIC is called visual basic.

The if statement is common in all high level programming languages like C , C++ ,C# ,java , PHP , etc and including Visual Basic.

The If statement tests a particular condition and if the condition evaluates to true a course of action is followed that is a set of statements are executed or otherwise the course of action or the set of statements are ignored. The syntax of the if statement is a s follows :- 

if(expression)

statement ;

Hope that you are clear with my solution and your problem is solved.

Answered By 0 points N/A #103170

If Statement on visual basic

qa-featured

This site is helpful, as i see these solutions i apply this to my computer since this is the problem of my computer,,, now all are fixed and going so well,, thanks experts and thanks to this site techyv,

Impressive,, keep it up guys

Answered By 0 points N/A #103171

If Statement on visual basic

qa-featured

Thanks Hoting Gracia and Lesten Pasio for your solutions. Now I think I'll study further Visual basic to master it.

Many thanks TechyV.

Related Questions