aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk3/lab3/mysteryBox.cpp
blob: c409b7cec184b6db9cb769a3d438458e33f52720 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;

int main () {
  int sum = 0;
  for(int i=0; i<=100; i++)
  {
      if(i % 7 == 0)
          sum++;
  }
cout << sum;
}