• Summer that sums 10 numbers

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

    • a file named UHusername_summer_10.c
    • example:

      • zhaol_summer_10.c
    • Write a program that allows the user to enter in 10 decimal numbers. The program will notify the user that s/he is about to enter in the last decimal number. The program will then give the user the sum of the 10 decimal numbers.
  • Summer that terminates with 999

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

    • a file named UHusername_summer_999.c
    • example:

      • zhaol_summer_999.c
    • Write a program that allows the user to enter decimal numbers until the user enters 999. The program will then give the user the sum of all the decimal numbers entered, excluding the 999 entry.
  • Summer with user specified termination

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

    • a file named UHusername_summer_user.c
    • example:

      • zhaol_summer_user.c
    • Write a program that asks the user for the number of decimal numbers s/he will be entering. The program then accepts the user chosen number of entries and notifies the user that s/he is entering the last entry. The program then displays the sum of all the decimal numbers.
  • Summer that continues until terminated

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

    • a file named UHusername_summer_until.c
    • example:

      • zhaol_summer_until.c
    • Write a program that asks the user if there are more decimal numbers to be summed. The program will continue accepting user entries until the user tells the program that there are no more decimal numbers to be entered. The program then displays the sum of all the decimal numbers entered.
  • Summer that continues until terminated but only sums current and last numbers

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

    • a file named UHusername_sum_current_and_last_until.c
    • example:

      • zhaol_sum_current_and_last_until.c
    • Write a program that asks the user if there are more decimal numbers to be summed. The program will continue accepting user entries until the user tells the program that there are no more decimal numbers to be entered. The program then displays the sum of the current decimal number and the previously entered decimal number. Note that the program is only summing two numbers.