From 6c83506cb44b1d20f66df404f0b6468b0e291b6b Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Tue, 25 Jun 2019 17:55:13 -0500 Subject: Do a thing: --- ee1301/wk3/lab3/mysteryBox.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ee1301/wk3/lab3/mysteryBox.cpp') diff --git a/ee1301/wk3/lab3/mysteryBox.cpp b/ee1301/wk3/lab3/mysteryBox.cpp index c409b7c..c1aefee 100644 --- a/ee1301/wk3/lab3/mysteryBox.cpp +++ b/ee1301/wk3/lab3/mysteryBox.cpp @@ -1,12 +1,12 @@ -#include -using namespace std; - -int main () { - int sum = 0; - for(int i=0; i<=100; i++) - { - if(i % 7 == 0) - sum++; - } -cout << sum; -} +#include +using namespace std; + +int main () { + int sum = 0; + for(int i=0; i<=100; i++) + { + if(i % 7 == 0) + sum++; + } +cout << sum; +} -- cgit v1.2.3