Kontynuuj

#include <iostream>
using namespace std;

int main ( )
{
int i;
for (i=1;i<=10;i++)
{
if(i==5)
{
break;
}
cout<<i<<"\n";
}
}
also check full <a href="https://www.codeexampler.com/cpp-break">c++ break Statement</a> on codeExampler for Free
CodeExampler