Em Andamento

menu-driven task analyzer

In this project, instead of dealing with numeric data, we will work with a file containing text, or character data. Your task is to write a menu-driven text analyzer program. The program must print a menu giving the user a list of tasks which can be performed: 1. print the file's contents 2. quit the program 3. count the number of lines in the file 4. count the words in the file 5. count the sentences in the file 6. do a character analysis, including count the number of characters in the file count alphabetic characters count digit characters count punctuation characters count whitespace characters You must provide a separate function to process each option. You may assume that: Each sentence ends with a period, and the period character is not used for any other purpose. Words consist of any series of letters and/or digit characters, and are terminated with a blank, the marker, or a punctuation mark. There may be more than one blank between words. Note that because of this assumption, your program will count something like "Don't." as two words. The file is not empty - there is at least one line. The file name contains no blanks. The marker is counted as a character. The marker is not. Input The file name is input as a C-string, Menu choices must be input as characters.

## Deliverables

Input The file name is input as a C-string, Menu choices must be input as characters. Three data files will be provided in the course web space, on the Blackboard site. The files are [url removed, login to view], [url removed, login to view], and proverb.txt. Copy these three data files onto your own disk, and put them in the same folder as your program 4 files. Bad Data Checking: if the file name entered cannot be opened, keep prompting the user until a valid file name is entered. If a menu choice is invalid, keep prompting the user until a valid choice is entered. You do not have to do any bad data checking on the actual contents of the data files. All data files are provided on the web site as Windows format text files. Please note that if you run your program on UNIX or on a Macintosh, you must convert the files provided to the text file format used by those platforms or they will not work correctly. Output and Testing For every data file, test every command at least once. Vary the order of the commands for each file (i.e. do not use the same command order for all the files). For each command, print a report giving the appropriate results for that task. Note that the program graders will test your program with various data files after it is turned in. Be sure to test bad data: invalid file names and invalid menu choices. You will find a link to a correct sample output for the [url removed, login to view] data file on the course Assignments web page. Please note that your output does not have to match this output exactly, but it must provide all required output elements and meet the style guidelines provided for this course. 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Windows XP

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Visual Basic

Ver mais: menu driven text file analyzer program, menu driven text file analyzer, task analyzer, web programming course, two lines meet, the elements of programming style, string match, string find c, software testing space, programming platforms, php source code testing software name, match string, find unix, find string in file c programming, find character in string c, find a string in a file c programming, elements of programming style, data driven programming, c programming find output, c programming find function, bad programming, print file contents, task driven, series programming in c, find and write the letters

Acerca do Empregador:
( 2 comentários ) United States

ID do Projeto: #2997688

Premiar a:

vladimirlagutin

See private message.

$12 USD em 2 dias
(20 Avaliações)
3.3

10 freelancers estão ofertando em média $34 para este trabalho

mihaiscortaru

See private message.

$20.88 USD in 2 dias
(159 Comentários)
6.0
leepwo

See private message.

$29.75 USD in 2 dias
(40 Comentários)
4.7
einsteinemc

See private message.

$21.25 USD in 2 dias
(16 Comentários)
4.1
shashikhanvw

See private message.

$102 USD in 2 dias
(15 Comentários)
3.8
rolandanderson

See private message.

$80.75 USD in 2 dias
(5 Comentários)
3.2
roibanadi

See private message.

$12.75 USD in 2 dias
(13 Comentários)
2.8
kartanvw

See private message.

$6.8 USD in 2 dias
(5 Comentários)
1.8
coderdimitrix

See private message.

$8.5 USD in 2 dias
(0 Comentários)
0.0
sanjayinfot

See private message.

$42.5 USD in 2 dias
(3 Comentários)
0.0