+ 3

How to print star questin in easy way in c++

          *        * * *     * * * * *  * * * * * * *

4th Jun 2018, 9:16 AM
Preet Aman
Preet Aman - avatar
3 Réponses
4th Jun 2018, 9:23 AM
Rahul George
Rahul George - avatar
+ 3
i don't understand when while loop works
4th Jun 2018, 9:30 AM
Preet Aman
Preet Aman - avatar
+ 2
In general, a while loop is used if you want an action to repeat itself until a certain condition is met i.e. if statement. And a for loop is used when you want to iterate through an object. i.e. iterate through an array.
4th Jun 2018, 9:53 AM
Rahul George
Rahul George - avatar