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) lettersA
toZ
are not encoded using consecutive numbers, so code likech >= '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:
- You can input it directly using keyboard.
- It is visible (i.e. not including control characters and whitespace characters).
Homework 5
- Status
- Finished
- Problems
- 6
- Open Since
- 2022-06-25 16:45
- DDL
- 2022-07-02 23:59
- Extension
- 48.0 hour(s)