aboutsummaryrefslogtreecommitdiff
path: root/Project1/program.cpp
blob: 1202f4cb6b635e7444204a91054a3be48666c08f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Name: Connor McDowell
// date: 1/29/2024
// class: CIS116
// Reason: inclass exercise 7

#include <iostream>
#include "Loops.h"

using std::cout;
using std::cin;
using std::endl;

//notes
//loop types and examples

int main()
{
	int n = 0;
	cout << "Please enter a whole number: ";
	cin >> n;
	ForLoop(n);
	WhileLoop(n);
	DoWhileLoop(n);

	return 0;
}