Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. // ConsoleApplication1.cpp *: Sets the entry point for the console application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "iostream"
  6.  
  7. int main()
  8. {
  9. using std::cout;
  10. using std::endl;
  11. int i = 0;
  12.  
  13. for (i = 0; i < 10; i++)
  14. {
  15. cout << "i:" << i << endl;
  16.  
  17. if (i = 3)
  18. {
  19. cout << "i egal a 3 :" << i << endl;
  20. }
  21.  
  22. }
  23. cout << "fin de boucle" << endl;
  24.  
  25.  
  26.  
  27. return 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement