Create array containing first 10 odd numbers

Create an array that contains the first 10 odd numbers.
Calculate and print the sum of those numbers.
I needed for class and have no idea..
Well you had better get started then.
Topic archived. No new replies allowed.