Pages

Thursday, March 27, 2025

// simple "apna college" example to learn difference between do while and while loop

 #include <iostream>

using namespace std; // simple "apna college" example to learn difference between do while and while loop
int main(){
    int val = 1;
   
    do{
        cout << "apna college ";

    } while(val > 5);

    while(val > 5){
        cout << "apna college";
    }
    return 0;

}

No comments:

Post a Comment

how to become red on codeforces by Errichto Algorithms | explained simply in a blog

 Yes. I found an available transcript of the video and summarized it simply. The video is “How To Become Red Coder? (codeforces.com)” by Err...