Question: I need to create a program in C which takes command line arguments. If the characters 'O' or 'o' are entered into the commands line,
I need to create a program in C which takes command line arguments. If the characters 'O' or 'o' are entered into the commands line, those characters must each be printed to the screen. If the characters 'X' or 'x' are entered to the command line, segments need to be taken away.
For example, if the String OOoXOXo is entered into a command line, the following must be printed to the screen:
OOo
OO
OOO
OO
OOo
Thanks for any help in advance!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
