What is a while statement in turbo c plus plus?

페이지 정보

profile_image
작성자
댓글 0건 조회 19회 작성일 24-06-18 14:58

본문

A while statement is one type of looping statement.

by which we can start a loop in our programs.

while loop is precondition checking statement,

because it first check its condition then loop will go to its Body Plus testimonials part.

EX.

while(i>0)



//body part



here when i will >0 then it will check it body part and execute it and display

result.

댓글목록

등록된 댓글이 없습니다.

회원로그인

회원가입