blob: 532ff93f24f7fadc7bd4b42540c3b9fda9cb9e0e (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
11a
10.10 Learn by Doing Exercises
--Student Club Organizer--
To stop adding club info, enter "end".
Name of club:
Math Club
Name of club president:
Math Dude
Number of students in club:
24
To stop adding club info, enter "end".
Name of club:
Science Club
Name of club president:
Science Dude
Number of students in club:
89
To stop adding club info, enter "end".
Name of club:
Literature Club
Name of club president:
Literature Dude
Number of students in club:
11
To stop adding club info, enter "end".
Name of club:
Music Club
Name of club president:
Music Dude
Number of students in club:
104
To stop adding club info, enter "end".
Name of club:
end
--Club Table--
Student Club PresidentNumber of Students
| Club name: Math Club | Club President: Math Dude | Number of Students: 24 | Club Money: 1800 |
| Club name: Science Club | Club President: Science Dude | Number of Students: 89 | Club Money: 6675 |
| Club name: Literature Club | Club President: Literature Dude | Number of Students: 11 | Club Money: 825 |
| Club name: Music Club | Club President: Music Dude | Number of Students: 104 | Club Money: 7800 |
11b
10.14 Debugging Exercises
output 1 -
Please enter your first name: James
Please enter your last name: Lawrance
Welcome James Lawrance!
Hope all is well
x y z
0 100 100
1 101 102
2 102 104
3 103 106
4 104 108
5 105 110
6 106 112
7 107 114
8 -858993460 -858993452
9 -858993460 -858993451
output 2 -
Please enter your first name: James
Please enter your last name: Lawrance
Welcome Zames Lawrance!
Hope all is well
x y z
0 100 -99
99 101 102
2 102 104
3 103 106
4 104 108
5 105 110
6 106 112
7 107 114
8 -858993460 -858993452
9 -858993460 -858993451
11c
10.15 Programming Exercises
output 1 -
Welcome to the super cool string information program!
Please enter your string.
James!!!
Your string is not a palindrome.
Your string does not use only alphabetical characters
Enter a character to check number of appearances in your string: !
The "!" character appears 3 times in your string.
output 2 -
Welcome to the super cool string information program!
Please enter your string.
tacocat
Your string is a palindrome.
Your string uses only alphabetical characters
Enter a character to check number of appearances in your string: f
The "f" character appears 0 times in your string.
|