Question: Need help in C Programming Language pleasee 1 Program descriptions You will write six programs for this project. Except where explicitly noted, your programs may

 Need help in C Programming Language pleasee 1 Program descriptions You

Need help in C Programming Language pleasee

1 Program descriptions You will write six programs for this project. Except where explicitly noted, your programs may assume that their inputs are properly formatted. However, your programs should be robust. Your program should not assume that it has received the proper number of arguments, for example, but should check and report an error where appropriate. Except where noted, programs should always terminate with exit code EXIT_SUCCESS (that is, return ( from main). 1.1 whisper: String operations Write a program whisper which behaves like echo, but more quietly. Like echo, whisper will print its arguments to standard output, separated by spaces, with the following differences 1. If whisper receives no arguments, it will print three periods (...), representing silence. 2. If whisper receives two or more arguments, it will surround its output with parentheses, representing quiet speech. 3. Any upper-case letters in the input will be replaced with lower-case letters. 4. Any exclamation points in the input will be replaced with periods. Usage $ ./whisper I love NASA (i love nasa) $ ./whisper 'I AM YELLING!' (i am yelling.) $ ./whisper Notes Use argc to determine the number of arguments. Print a single space between any two arguments. Arguments may be zero-length strings, which should not be handled specially. Do not attempt to reconstruct what the user may have typed on the shell: work with the strings your program receives. $ ./whisper $ ./whisper " () $ ./whisper a "b (a b)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem well write the whisper program in C The program should read commandline argume... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!