blob: c851742294e8ac982c6b0ba482792bec320ae431 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Name: Asahel Lopez
// Date: 2/2/24
// Class: CST 116
// Assignment: Homework 4
#include <iostream>
using std::cout;
using std::endl;
using std::cin;
void Print() {
for (int i = 0; i <= 100; i++) {
cout << i << " ";
}
}
int main() {
cout << "A. Print(100)" << endl;
cout << "B. Input Personal Information" << endl;
cout << "C. Print Fibonacci" << endl;
cout << "D. Exit" << endl;
char input = 'A';
switch (input) {
case 'A':
Print();
break;
}
int month;
int day;
int year;
cout << "Enter your date of birth";
cin >> month >> day >> year;
return 0;
}
|