Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

My 2 Cents How To Use While Loop In C++

Discussion in 'General Programming Discussions' started by Swati Mishra, Mar 14, 2016.

  1. Swati Mishra

    Yellow Belt

    Joined:
    Dec 28, 2015
    Messages:
    644
    Ratings:
    +105 / -0
    While loop continues in the program until the condition becomes false. The evaluating condition has to be a logical expression and it is necessary to return True or False value.

    Syntax

    While (expression)
    {
    Statements
    }
     
  2. Manish Mishra

    Yellow Belt

    Joined:
    Dec 22, 2015
    Messages:
    1,025
    Ratings:
    +159 / -0
    The while loop or While-Do loop is just the reverse of the Do-while loop.
    Where you are aware with the condition but not aware what to do. You will put the condition and user or later in programme you will known of task.
     

Share This Page