Exercise 4
sum of the first 10 positive integers
Write a program that computes the sum of the first 10 positive integers. Print the resulting sum to the screen like this:
the sum of the first 10 positive integers is: 55
Write a program that computes the sum of the first 10 positive integers. Print the resulting sum to the screen like this:
the sum of the first 10 positive integers is: 55