Quiz 3 - UMBC-CMSC104/General GitHub Wiki

Quiz 3 will be a little different from the previous quizzes. We're going to be doing a few miniature tasks instead of a single program and debugging exercise. Each module is worth 50% of the total grade.

Module A

Name this program module_a.c.

Write a program that scans scans anywhere between 1 and 20 numbers (user selectable) into an array. Afterward, print out each member.

Module A:
Please enter the number count: 7
Please enter number 1: 4
Please enter number 2: 8
Please enter number 3: 10
Please enter number 4: 2
Please enter number 5: 4
Please enter number 6: 3
Please enter number 7: 17
You entered: 4, 8, 10, 2, 4, 3, 17

To get a comma delimted list, you'll likely need to use printfs without \ns at the end of them.

Module B

Name this program module_b.c.

Prompt the user for two words. Print out the concatenation of both, and then the number of vowels and consonants in the concatenated word.

Module B:
Please enter a word: cat
Please enter another word: dog
Concatenation: catdog
Length: 6
Number of vowels: 2
Number of consonants: 4

Submittal

To submit the modules, type:

submit cs104_wilson quiz3 module_a.c module_b.c