fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int i,j;
  6. for(i=0;i<3;i++)
  7. {
  8. for(j=0;j<4;j++)
  9. {
  10. printf("Be happy\n");
  11. if(j==2) break;
  12. }
  13. }
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 4684KB
stdin
Standard input is empty
stdout
Be happy
Be happy
Be happy
Be happy
Be happy
Be happy
Be happy
Be happy
Be happy