Question: Fill in the blanks for the code. Code is in c++. and plz explain and walk thru why you choose that answer Repetition Blocks //define

Fill in the blanks for the code. Code is in c++. and plz explain and walk thru why you choose that answer

Repetition Blocks //define constants #define TRUE ____________ #define FALSE ____________ #define LIMIT ____________ void main() { //declare variables int _____________; //variable to be tested int _____________; //loop counter //basic while structure ... tests before starting loop _____________ = FALSE; //initialize test variable while(____________ _____ ____________) //do the pre-test { instruction(s) whileTrue; _____________ = _________________; //modify test variable } //******************************************************************** //basic do-while structure ... tests after it has been through the loop _____________ = FALSE; //initialize test variable do { instruction(s) whileTrue2; _____________ = _________________; //modify test variable } while (__________________________); //do the post-test //******************************************************************** //basic for loop (initialize; while test; modify) for(_____ _____ ____; _______ _____ ___________; _____________) { instruction(s) whileTrue3; } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!