Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,080 --> 00:00:02,150
All right.
2
00:00:02,480 --> 00:00:04,500
What is going on, ladies and gentlemen?
3
00:00:04,520 --> 00:00:13,490
And in this video in this exercise, we are going to proceed even further to practice aisles in our
4
00:00:13,490 --> 00:00:15,530
seat programming language.
5
00:00:16,340 --> 00:00:22,220
So what do we need to do now is to write a program that reads a file name from the user.
6
00:00:22,580 --> 00:00:29,810
OK, so the user is going to specify what is the file that he or she wants to work with?
7
00:00:31,240 --> 00:00:39,940
Then the program should create eight frequency appearances, Ray, for a lower case letters from lowercase
8
00:00:39,940 --> 00:00:42,280
A. up to lowercase z.
9
00:00:43,120 --> 00:00:51,160
And afterwards, the program should print a the number of times each lowercase letter appears in the
10
00:00:51,160 --> 00:00:51,730
file.
11
00:00:52,340 --> 00:00:59,320
OK, so once again, the program will read a file name from the user and create a frequency array appearance
12
00:00:59,470 --> 00:01:00,940
frequency appearance as a rate.
13
00:01:01,540 --> 00:01:11,800
Basically, of these array will be used for holding the actual number of appearances of each lowercase
14
00:01:11,800 --> 00:01:15,700
letter in the file that we are going to work with.
15
00:01:16,510 --> 00:01:23,920
And after words, after these parties done, this program is going to print the numbers of the number
16
00:01:23,920 --> 00:01:27,940
of times that each lowercase letter appears in these files.
17
00:01:27,950 --> 00:01:35,560
So, for example, we are going to print lowercase a appears like two times lowercase B appears zero
18
00:01:35,560 --> 00:01:39,940
times lowercase, a c appears five times and so on and so forth.
19
00:01:40,510 --> 00:01:42,970
OK, so that's what you are required to do.
20
00:01:43,240 --> 00:01:50,260
Think about how you would create these frequency appearances array and also think about what is the
21
00:01:50,260 --> 00:01:54,620
condition to check if a certain character that you read from a file.
22
00:01:54,970 --> 00:02:03,790
If this character is lowercase, a lowercase B from basically probably on the range, from a from lowercase
23
00:02:03,790 --> 00:02:06,130
h up to lowercase z.
24
00:02:07,030 --> 00:02:08,200
OK, so think about it.
25
00:02:08,200 --> 00:02:12,700
Think about how you should approach it, how you basically will increment every time.
26
00:02:13,300 --> 00:02:15,610
And yeah, that's it.
27
00:02:16,060 --> 00:02:16,450
So.
28
00:02:17,480 --> 00:02:19,950
In the solutions, we are going to solve it together.
29
00:02:19,970 --> 00:02:21,800
So good luck and I'll see you then.
2854
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.