what is the difference between entry control and exit
control statement?
Answer Posted / rahul singh
entry controlled loop first test the terminating condition and then execute the loop body.If the condition is found true he loop body is execute other wise the loop terminates.It is also called pre-tested loop.or Top -Tested loop.
An exit control loop first execute the loop bod and then test the terminating condition.If the condition is found true the loop body execute again otherwise the loop terminates.It is also called Post Tested loop or Bottom Tested loop.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
program for reversing a selected line word by word when multiple lines are given without using strrev
Explain how can I prevent another program from modifying part of a file that I am modifying?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What is file in c preprocessor?
In C programming, what command or code can be used to determine if a number of odd or even?
How many loops are there in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Explain which function in c can be used to append a string to another string?
Write a Program to accept different goods with the number, price and date of purchase and display them
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
Explain the properties of union. What is the size of a union variable
Explain zero based addressing.
Tell me can the size of an array be declared at runtime?
Explain what are the __date__ and __time__ preprocessor commands?