Every programming language provides different features to make coding task easy. One of the main objectives is to keep things simple as possible. You have studied C++ in this course and have learnt many different concepts e.g. input/output, if-else statements, loops, arrays, functions etc.
Looping constructs are needed when a statement or a block of statement is repeatedly executed until a specific condition holds true. You have learned in this course that C++ provides three looping constructs; For Loop, While Loop and Do-while Loop.
For C++ designers, it is not easy to include a construct or structure while developing this computer language. On the other hand, it also increases the complexity for learners as languages with more construct are difficult to learn.
A language expert Mr. ABC objects the designers of C++ on the bases of following two arguments:
· A single looping construct is sufficient to cover all types of situations.
· Designers of C++ have not done any good with themselves and C++ programmers by making things complex with provision of three different looping constructs.
Your Task is to comment on the views of Mr. ABC. Clearly state your position in favor or against for each argument of Mr. ABC with justified reasons.
This is not a homework site. The purpose of these questions is for you to think about them and, using your knowledge of C++, come up with some answers.
What do you think about the points Mr. ABC raises?