Loops are used when we want a set of statements to execute until certain condition is satisfied or fulfilled. Loops can also be used when we want to take many inputs from the user. A while loop executes a block of statements as long as the condition remain true. The syntax of a while loop … Continue reading Loops: Part 1
Tag: learn
Conditionals
You have learned about getting inputs and displaying outputs but their are certain cases where we want to execute program according to the given input. For example: A vegetable vendor is left only with spinach. Now if any one asks for spinach he will say Yes, if any other vegetable is asked for he will … Continue reading Conditionals
How to setup C++ in your system to start programming.
The first step to get started is setting up the C++ in your system. The following components are used to build C++ programs: 1. Integrated Development System (IDE) : It provides the necessary tools for writing source code . Any text editor can be used as an IDE. 2. Compiler: It compiles source code into … Continue reading How to setup C++ in your system to start programming.
