• Character Analyzer

    At the end of this problem you should submit to Laulima:

    • a file named UHusername_character_analyzer.c
    • example:

      • zhaol_character_analyzer.c
    • Write a program that will allow the user to enter in a single digit number, alphabet, or special character. The program will tell the user if s/he has entered in a number, an upper case letter, a lower case letter, or a special character. The program will ask the user after each character is entered if s/he would like to quit the program by asking for q.

      Click here for more details on the problem when you want to verify your understanding of the problem statement.

        The program should:
      • analyze each character that is typed in
      • tell the user if s/he entered a number
      • tell the user if s/he entered an upper case letter
      • tell the user if s/he entered a lower case letter
      • tell the user if s/he entered a special character (don't worry about DEL or any other ASCII characters from NULL to Space)
      • quit the program if the user has entered q, q does not need to be analyzed
  • Number Repeater

    At the end of this problem you should submit to Laulima:

    • a file named UHusername_number_repeater.c
    • example:

      • zhaol_number_repeater.c

    At the end of this problem you should submit to Laulima:

    • Write a program that will allow the user to enter in a number and then the program will repeat the number back to the user. Values 0 thru 10 will be repeated by the same number of times as the number. Values 11 thru 100, will be repeated 15 times. Values greater than 100 will be repeated 20 times. The program will continue until the user enters in 999.

      Click here for more details on the problem when you want to verify your understanding of the problem statement.

        The program should:
      • repeat the number entered a specific number of times
      • if the user enter 0 thru 10, the program will repeat the number by the same amount as the entered number
      • if the user enter 11 thru 100, the program will repeat the number 15 times
      • if the user enter anything greater than 100, the program will repeat the number 20 times
      • if the user enter 999, the program will exit
        Your program should have:
      • a main while loop
      • if/else statements inside the main while loop
      • nested while loop inside the if/else statements
      Test Cases:
      test case 1:
      • input:
        2
      • output:
         1. 2
         2. 2
        
      test case 2:
      • input:
        5
      • output:
         1. 5
         2. 5
         3. 5
         4. 5
         5. 5
        
      test case 3:
      • input:
        19
      • output:
         1. 19
         2. 19
         3. 19
         4. 19
         5. 19
         6. 19
         7. 19
         8. 19
         9. 19
        10. 19
        11. 19
        12. 19
        13. 19
        14. 19
        15. 19
        
      test case 4:
      • input:
        101
      • output:
         1. 101
         2. 101
         3. 101
         4. 101
         5. 101
         6. 101
         7. 101
         8. 101
         9. 101
        10. 101
        11. 101
        12. 101
        13. 101
        14. 101
        15. 101
        16. 101
        17. 101
        18. 101
        19. 101
        20. 101