aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk3/lab3/mysteryBox.cpp
blob: c1aefee4a4ae50b4125aac31bc46e9280d727478 (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;
}