Design a modular program that allows the user to enter two words as separate inputs, one a noun and the other a verb. Then display the following three messages: noun verb . is a simple sentence noun...


Design a modular program that allows the user to enter two

words as separate inputs, one a noun and the other a verb. Then display the following three messages:


     noun verb .  is a simple sentence

     noun is the subject

     verb is the verb


... where noun and verb are the user’s inputs.

All input instructions must appear in the main module and the only output instructions allowed in the main are for prompts.

Develop three additional modules, one for the each of the output messages noted above. Use proper parameter passing to provide each output module the input value or value s it needs. Do not pass an input value to a module that does not need it.


Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here