1. Engineering
  2. Computer Science
  3. c programming playing with strings assignment you must write comment...

Question: c programming playing with strings assignment you must write comment...

Question details

C Programming

Playing with strings Assignment

You Must:

Write comment after every sentence.

Write DESIGN TOO for your program ( I P O Chart – Input – Process - Output )

Outcome:

  • Student will demonstrate the ability to create strings.
  • Student will demonstrate the ability to manipulate strings.
  • Student will demonstrate the ability to write well written code.

Program Specifications:

You are to DESIGN and WRITE a short program that will:

  • Allow the user to enter a string with up to 100 letters.
  • The program will display the string:
    • Forward
    • Backward
    • Vertical
    • As a triangle made from the letters of the string
  • The program will display the number of letters in the string.
  • Once everything above was displayed, the program will ask the user if he or she wishes to enter a different string or quit.

Submission Requirements:

Requirements will be same as the first assignment which will be the same for all future assignments.

YOU CANNOT

  • Use global variables, in this or any program ever.
  • Use goto statement(s) , in this or any program ever.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution