title: Write a program that sums the sequence of integers, as well as the smallest in the sequence
body: <blockquote>
    <p>Write a program that sums the sequence
    of integers as well as the smallest in
    the sequence. Assume that the first
    integer read with scanf specifies the
    number of values remaining to be
    entered. For example the sequence
    entered:</p>
    
    <p>Input: 5 100 350 400 550 678</p>
    
    <p>Output: The sum of the sequence of
    integers is: 2078</p>
    
    <p>Input: 5 40 67 9 13 98</p>
    
    <p>Output: The smallest of the integers
    entered is: 9</p>
  </blockquote>
  
  <p>This is a daily problem I am working on but by looking at this, Isnt 5 the smallest integer? I have no idea how to write this program. Appreciate any help</p>