hello.....to evryone im jerlyn......im first year college..taking up accountancy...
i regester hr coz we have subject about C++ and database.....
i cant understand some code that our tchr want us to input or type.....

like......

*what the difference about the do while loop and the while loop

*what getch stand for and what its function


plsss....anyone help me........

1. while loop performs loop "if" the condition is true whereas do-while performs it "then" checks if the condition is true.

2. getch makes command line wait for an input from you

>>plsss....anyone help me........
If you would read your text book you could help yourself.

do while gets executed first time irrespective of whether the condition is true or not
getch() reads a character from standard input.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.