1. Write a program that reads input as a stream of characters until encountering EOF. Have the program report the number of uppercase characters, the number of lowercase characters, and the number of other characters read. (You can use the functions in ct
1. Write a program that reads input as a stream of characters until encountering EOF. Have the program report the number of uppercase characters, the number of lowercase characters, and the number of other characters read. (You can use the functions in ctype.h for this assignment.) Use the attached file infile.txt as input when you submit your assignment.
2. Write a program that reads input as a stream of characters until encountering EOF. Have the program report the number of words and the average number of letters per word. You can use the functions in ctype.h for this assignment. You can assume that whenever you encounter a whitespace character or punctuation that a word has ended. Use the attached file infile.txt as input when you submit your assignment.
infile.txt
The snow glows white on the mountain tonight Not a footprint to be seen A kingdom of isolation, And it looks like I'm the queen. The wind is howling like this swirling storm inside Couldn't keep it in, heaven knows I tried! Don't let them in, don't let them see Be the good girl you always have to be Conceal, don't feel, don't let them know Well, now they know! Let it go, let it go Can't hold it back anymore Let it go, let it go Turn away and slam the door! I don't care What they're going to say Let the storm rage on, The cold never bothered me anyway! It's funny how some distance Makes everything seem small And the fears that once controlled me Can't get to me at all! It's time to see what I can do To test the limits and break through No right, no wrong, no rules for me I'm free! Let it go, let it go I am one with the wind and sky Let it go, let it go You'll never see me cry! Here I stand And here I'll stay Let the storm rage on! My power flurries through the air into the ground My soul is spiraling in frozen fractals all around And one thought crystallizes like an icy blast I'm never going back, The past is in the past! Let it go, let it go And I'll rise like the break of dawn Let it go, let it go That perfect girl is gone! Here I stand In the light of day Let the storm rage on, The cold never bothered me anyway!
10 years ago
40
Purchase the answer to view it

- characters_analysisin_c.zip
Purchase the answer to view it

- c_program.zip
- Any tutors available now?? Need now please
- 222222
- A pineapple is 7 times as heavy as an orange. The pineapple weighs 870 grams more than the orange. What is...
- only for A-plus writer
- Need help in college elementary statistics
- The skin
- Ashford BUS 650 Week 1 DQ 1
- Multiple Questions Answers
- Scenario: Billy's Bar-B-Q is looking to set up a new Texas style restaurant. However, unlike the southern locations, they have come to the realization that things like taste, work ethic, and compensation expectations are different in the north.
- Intergrated Design IP2 TOOLS
