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...

If A>B
next sentence
end-if
display 1
display 2.
display 3.

If a>b, it will display only 3.(the next sentence,
ie., after fullstop/period)
____________________________________

if a>b
continue
end-if
display 1
display 2.
display 3.

If a>b, it Will display 1 2 3 (the next statement)
____________________________________

if a>b
continue
display 1
end-if
display 2
display 3.
display 4.

If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?

Answer Posted / muttaiah

Really, Did someone execute this code before posting your
answers..

If a novice goes through this chat he will get confused
like which answer is correct

The asnwer is 2 3 4 why because whenever control encounters
continue it will start executing the stmt only after scope
terminator which is end-if in this case.

so 2 3 4 is the answer i have executed the code also.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the utilization of copybook in cobol?

1114


Define cobol?

1312


Describe the cobol database components?

1125


What is a SSRANGE and NOSSRANGE?

1415


how do you reference the variable block file formats from cobol programs

1182


What is the difference between external and global variables in COBOL?

1359


how do you define single dimensional array and multidimensional array in your cobol?

1046


What are all the divisions of a COBOL program?

1147


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1167


Write the code to count the sum of n natural numbers.

1143


What is the difference between structured cobol programming and object alternativelyiented cobol?

1185


What is link edit in cobol?

1152


) what is the difference between AID and HANDLE AID?

2099


Write some characteristics of cobol as means of business language.

1078


Explain the configuration section of a cobol program with examples of syntax.

1122