Homework 5 Ex1

Homework 5 Ex1

You cannot submit for this problem because the homework's deadline is due.

Problem 1

  • Submit ex1.c here.
  • Knowledge related to command-line arguments is given in lecture slide c13.
  • Use functions in ctype.h to check for properties or a character so that the code can be more portable. In some character encodings other than ASCII (such as EBCDIC) letters A to Z are not encoded using consecutive numbers, so code like ch >= 'A' && ch <= 'Z' will not always work.
  • Since the string is taken in as a command-line argument, it contains no space or any other whitespace characters like tab and newline.
  • For the special character in Requirement 5, it is guaranteed to have the following properties:
    1. You can input it directly using keyboard.
    2. It is visible (i.e. not including control characters and whitespace characters).

Homework 5

Not Claimed
Status
Finished
Problems
6
Open Since
2022-06-25 16:45
DDL
2022-07-02 23:59
Extension
48.0 hour(s)