






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Instructions for lab 8 problem 1 in comp 201, a computer programming course taken during spring 2008. Students are required to write a program that reads a text file and calculates the percentage of letters that are capitalized. An analysis, design, and code snippet for the lab.
Typology: Lab Reports
1 / 10
This page cannot be seen from the preview
Don't miss anything!
Design Include a correct chart as specified. Your code must conform to the chart.
Correctness Include test runs verifying that the program produces correct outputs
Programming style Is the code straight-forward, terse, readable, properly indented?
Analysis
Inputs: A pre-existing text file
The name of the file (including the path)
Output: The percentage of letters that are capitalized
Error message if the named file cannot be opened
Came whiffling through the tulgey wood, And burbled as it came! One, two! One, two! And through and through The vorpal blade went snicker-snack! He left it dead, and with its head He went galumphing back. "And hast thou slain the Jabberwock? Come to my arms, my beamish boy! O frabjous day! Callooh! Callay!" He chortled in his joy. 'Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe.
0.1 % of each other. i.e. 0.999*real1 < real2 < 1. real1. != Opposite of ==
p. 673 Programming Project #3 on creating a class that acts like a vector.
The goal is to use Microsoft Foundation Classes (MFC) to build a simple windows program. The program allows the user to draw triangles in a window by dragging them out with the mouse. Follow this tutorial.
Implement some of the enhancements suggested at the end of the tutorials in Lab 12.