-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGymTraine.cpp
More file actions
374 lines (366 loc) · 11.5 KB
/
GymTraine.cpp
File metadata and controls
374 lines (366 loc) · 11.5 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
#include<conio.h>
#include<iostream>
#include<string.h> //string header file
using namespace std;
class man
{
public:
void monday()
{
cout<<"\t\tChest day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Barbell Bench Press"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Inclined Dumbbell Press"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Dips"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Pullups"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void tuesday()
{ cout<<"\t\tShoulders and Arms day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Military Press or Dumbbell Press"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Lateral Raises"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Barbell Curls"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Dumbell Curls"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void wednesday()
{ cout<<"\t\tBiceps day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Incline Dumbell Hammer curl"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Incline Inner-Biceps curl "<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Zottman Curl"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. EZ-Bar curl"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void thursday()
{
cout<<"\t\tTriceps day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Close-Grip Barbell Bench Press"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Dip Machine"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Seated Dumbell Press"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. V-Bar Pulldown"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void friday()
{
cout<<"\t\tBack day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Band Bent-over Row"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Renegade Row"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Dumbbell Single Arm Row"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Inverted Row"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void saturday()
{
cout<<"\t\tLeg Day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Barbell Squat"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Dumbell Lunges"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Leg Press"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Standing Calf Raises"<<endl;
cout<<"\t\t\t * 3-4 sets of 6-8 reps or 10-12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
};
class woman
{ public:
void wmonday()
{
cout<<"\t\tChest day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Standing Chest Stretch"<<endl;
cout<<"\t\t\t * Hold the position for 2o-3o seconds"<<endl;
cout<<"\t\t\t * 2 sets of 5 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Camel Pose"<<endl;
cout<<"\t\t\t * Hold the position for 3o seconds"<<endl;
cout<<"\t\t\t * 2 sets of 5 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Seated Dumbell Fly"<<endl;
cout<<"\t\t\t * 2 sets of 12 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Lying Chest Fly"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void wtuesday()
{
cout<<"\t\tBiceps day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Biceps Curl"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Hammer Curl"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Curtsy Lunge With Biceps Curl"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Squat With Biceps Curl"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void wwednesday()
{
cout<<"\t\tTriceps Day"<<endl;
cout<<"\t\tFirst of All Stretch your body a little bit"<<endl;
cout<<"\t\t1. Triceps Extension"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Skull Crusher or Lying Triceps Extension"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Triceps Dips"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Triceps Push-ups"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void wthursday()
{
cout<<"\t\tBack and Wings day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Spreading Wings Lift"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. one Arm Rowing Dumbbell"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Bow And Arrow"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Back Arm Walk"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void wfriday()
{
cout<<"\t\tShoulders Day"<<endl;
cout<<"\t\tFirst of All stretch your body a little bit"<<endl;
cout<<"\t\t1. Dumbbell Front Raises"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Standing Shoulder Press"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Lateral Raises"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Bent Arm Lateral Raises"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
void wsaturday()
{
cout<<"\t\tLeg day"<<endl;
cout<<"\t\tFirst of all Stretch your body"<<endl;
cout<<"\t\t1. Goblet Squat"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t2. Banded Lateral Walk"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t3. Single Leg Deadlift"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
cout<<"\t\t4. Lateral Lunge"<<endl;
cout<<"\t\t\t * 3 sets of 10 reps"<<endl;
cout<<"\t\t\t Rest a little bit after the sets"<<endl;
}
};
class details:public man, public woman
{
public:
void detail1()
{
int ch;
do
{
cout<<"\t\t|=====================================|"<<endl;
cout<<"\t\t| Welcome to my gym Exercises |"<<endl;
cout<<"\t\t| Exercises for Male |"<<endl;
cout<<"\t\t| Press [0] for exit the page |"<<endl;
cout<<"\t\t| Press [1] for the day 1 routine |"<<endl;
cout<<"\t\t| Press [2] for the day 2 routine |"<<endl;
cout<<"\t\t| Press [3] for the day 3 routine |"<<endl;
cout<<"\t\t| Press [4] for the day 4 routine |"<<endl;
cout<<"\t\t| Press [5] for the day 5 routine |"<<endl;
cout<<"\t\t| Press [6] for the day 6 routine |"<<endl;
cout<<"\t\t|=====================================|"<<endl;
cin>>ch;
switch(ch)
{
case 1:
{
monday();
break;
}
case 2:
{
tuesday();
break;
}
case 3:
{
wednesday();
break;
}
case 4:
{
thursday();
break;
}
case 5:
{
friday();
break;
}
case 6:
{
saturday();
break;
}
default:
{
cout<<"Thank you for your valuable time"<<endl;
}
}
}
while(ch!=0);
}
void detail2()
{
int ch;
do
{
cout<<"\t\t|=====================================|"<<endl;
cout<<"\t\t| Welcome to my gym Exercises |"<<endl;
cout<<"\t\t| Exercises for Female |"<<endl;
cout<<"\t\t| Press [0] for exit the page |"<<endl;
cout<<"\t\t| Press [1] for the day 1 routine |"<<endl;
cout<<"\t\t| Press [2] for the day 2 routine |"<<endl;
cout<<"\t\t| Press [3] for the day 3 routine |"<<endl;
cout<<"\t\t| Press [4] for the day 4 routine |"<<endl;
cout<<"\t\t| Press [5] for the day 5 routine |"<<endl;
cout<<"\t\t| Press [6] for the day 6 routine |"<<endl;
cout<<"\t\t|=====================================|"<<endl;
cin>>ch;
switch(ch)
{
case 1:
{
wmonday();
break;
}
case 2:
{
wtuesday();
break;
}
case 3:
{
wwednesday();
break;
}
case 4:
{
wthursday();
break;
}
case 5:
{
wfriday();
break;
}
case 6:
{
wsaturday();
break;
}
default:
{
cout<<"Thank you for your valuable time"<<endl;
}
}
}
while(ch!=0);
}
};
int main()
{
char name[50], age[10], gender;
details d;
cout<<"\t\t\t----------------------------"<<endl;
cout<<"\t\t\t Enter Your Name:-";
cin.getline(name,100);
cout<<endl;
cout<<"\t\t\t Enter Your Age:-";
cin.getline(age,10);
cout<<endl;
cout<<"\t\t\t Enter Your Gender(m/f):-";
cin>>gender;
cout<<"\t\t\t----------------------------"<<endl;
switch(gender)
{
case 'm':
{
d.detail1();
break;
}
case 'f':
{
d.detail2();
break;
}
default:
{
cout<<"This is unspecified Gender";
}
}
return 0;
}