Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between a looping statement and a
decision statement

Answer Posted / vignesh1988i

looping statement :
this can rotate to a specific number of times upto
the termination condition given ......
here we can conclude many decisions by further adding
statements using some decisions control statement....
for eg :

for(int i=0;i<5;i++)
{
if(i%2==0)
{
printf("winner ");
if(i)
printf("looser ");
}
else
{
printf("intelligent ");
if(i)
printf("big idiot");
}
}
here using both looping and conditions structures we there
by get different by varying the values of 'i'.

decision statement:

in these statements we must take only one decision at a
time....... multiple desions not possible... the decisions
can be nested ..... but no 2 or more decisions possible at a
time.....

eg: if-else,switch

thank you

Is This Answer Correct ?    24 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many types of bytes are there???

2555


What is the difference between COM and CORBA?

1215


Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.

966


hoe to data grid use in sql server 2000?

2075


write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.

1591


along with oracle which language will be beneficial to have knowledge with,java,.net,since i m doing oracle have appeared for 8th sem BEIT,plz suggest

1925


Suppose server object is not loaded into the memory, and the client request for it , what will happen?

2661


< No Frames > tag is used for

2745


how do find the user exit for selected feild whatis the process and can u plz explain it

2140


How to call a C++ function which is compiled with C++ compiler in C code?

1300


what is the difference between Windows application and Unix application?

2644


Write a program to create a process in UNIX

2554


Hello Experts, What is the difference between move and move corresponding exactly? please post me asap

1847


Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains

2070


EXPLAIN UNARY OPEARATORS

2239