answersLogoWhite

0


Best Answer

The main difference is how often they run.

A conditional statement - often an IF - may or may not run. If it does (depending on whether a condition is fulfilled), it runs only once.

A looping statement - often a WHILE or FOR - is designed to repeat, while a certain condition is true.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between conditional statements and looping statements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between control statements and looping statements in c language?

differance between control statement and looping statement?


How are looping statements different from conditional statements?

The former include repetition, the latter don't.


What are the differences between looping structure and conditional structure?

A conditional structure takes out of possible multiple paths given a condition. A looping structure, on the other hand, repeats the same steps while a specific condition is still met. Examples: Conditional: if (x 5) //do action end while


What are the three looping statements in java PL?

There are 4 different looping statements in Java. They are:While loopDo-While loopFor loopFor Each loop


How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.


Name two types of looping?

The two types of looping include the closed loop and the open loop.There is the count loop, the conditional loop and the unconditional loop.


What is difference between branching and looping?

looping run condition contiously till a specific condition is true ,otherwise branching test condition at a time.


What is the difference between Do While statements and Do For statements?

A "do while....." statement is a looping instruction to a program to repeat a stage in the program while some condition is true - e.g while a variable is negative, or, while one variable is less than another. A "do for ....." statement is a looping instruction to a program to repeat a stage in the program a set number of times - e.g for steps = 1 to 10, or, for steps = 1 to (some variable).


What are iterative statements?

An iterative statement is a looping statement, such as a 'for', 'while', or 'do-while' statement. They cause statements to be repeated (iterated) multiple times.


Looping statement in c plus plus?

There are several 'looping' statements in C++. They are:while () { }do { } while () ;for (index-start, index-end; index increment/decrement) { }They are used to repetitively execute statements as long as the statement(s) controlling the loop are true.


What is the difference between looping statements - c program?

Repetition. For example the following lines do the same thing: while (expression) statement; LABEL: if (expression) {statement; goto LABEL; } Or these: for (exp1; exp2; exp3) statement; exp1; LABEL: if (exp2) {statement; exp3; goto LABEL; }


Difference between fixed loop and variable loop?

Fixed loop: this is the loop where the number of iterations are known. Variable loop: Here the number of iterations are not known Example for a variable loop. The pseudocode for variable whille loop begin character cchoice display"enter the choice" accept cchoice while(cchoice='y') begin //execute the statements end end Rkarthikeyan