Phoenix_x

Untitled

Jan 2nd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. using namespace std;
  4.  
  5. void main()
  6. {
  7.     int multiply = 1;
  8.  
  9.     for (int i = 200; i < 500; i++)
  10.     {
  11.         if (i % 3 == 0)
  12.         {
  13.             multiply *= i;
  14.         }
  15.     }
  16.  
  17.     cout << "Multiplication : " << multiply << endl;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment