Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,670 --> 00:00:02,230
What is going on, guys?
2
00:00:02,320 --> 00:00:08,980
And actually, to tell you the truth, I was wondering if I should give you another challenge, another
3
00:00:08,980 --> 00:00:14,410
exercising do while loops and to help you practice more.
4
00:00:14,680 --> 00:00:20,800
I decided to do so because as you already know by now, practice makes progress.
5
00:00:21,130 --> 00:00:27,630
So here is a big challenge that you should solve by using the do while loop structure in C.
6
00:00:27,760 --> 00:00:29,860
So the exercise goes like this.
7
00:00:29,980 --> 00:00:36,850
Write a program that reads from the user a legal grade of a lead grade and the legal grade is considered
8
00:00:36,850 --> 00:00:42,640
to be a grade between zero greater than zero and less than a hundred.
9
00:00:42,910 --> 00:00:46,570
Meaning greater than or equal to a zero or less.
10
00:00:46,650 --> 00:00:48,700
Then or equals to a hundred.
11
00:00:48,820 --> 00:00:55,180
And once the user inserts a legal grade, then the program should print a corresponding message with
12
00:00:55,180 --> 00:00:56,230
the grade itself.
13
00:00:56,500 --> 00:00:59,400
For example, we will print something like Thanks.
14
00:00:59,400 --> 00:01:03,700
You have inserted 90, which is a legit it's a valid grade.
15
00:01:03,850 --> 00:01:10,390
So take your time to think about it and you may even give it a try solving this exercise by just using
16
00:01:10,450 --> 00:01:11,590
one condition.
17
00:01:11,620 --> 00:01:14,860
Perhaps, but I'm not sure that will work.
18
00:01:14,980 --> 00:01:16,210
Think about it thoroughly.
19
00:01:16,360 --> 00:01:17,590
So good luck, guys.
20
00:01:17,620 --> 00:01:19,330
And I'll see in the Solutions video.
1859
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.