//break
#include <iostream>

int main() {
   for (int i = 1;i<=5;i++){
       if(i==4){
           break;
       }
       std::cout<<i<<std::endl;
   }

    for (int j = 1;j<=5;j++){
        if(j==3){
            continue;
        }
        std::cout<<j<<std::endl;
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: