Skip to content

Instantly share code, notes, and snippets.

@froilan-miranda
Last active June 20, 2020 11:33
Show Gist options
  • Save froilan-miranda/afc35dd7d46dadda0473a916ed4d4898 to your computer and use it in GitHub Desktop.
Save froilan-miranda/afc35dd7d46dadda0473a916ed4d4898 to your computer and use it in GitHub Desktop.

#Sum of the Numbers

##Objectives

  1. To demonstrate your understanding of objects
  2. To demonstrate your understanding of operators
  3. To demonstrate your understanding of user input/output

##Overview

Write a program that asks the user for a number n and prints the sum of the numbers 1 to n

##Unit Test

No Unit Test

##Instructions

  1. Understand how to get input from user
  2. Find solution to sum numbers from 1 to n
  3. Print final answer to screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment