Do While sintax C++

//Simple Sample 'do while' statement //Giame Carlos Fajardo Santos #include <iostream> using namespace std; main(){ int i=1; do{ cout<<i; i++; }while(i<=5); }
Simple sample of the DO WHILE statement that print on screen: 12345

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.