Write a C++ program that calculates and prints the sum of the odd integers

Write a C++ program that calculates and prints the sum of the odd integers, and the sum of even integers from 1 to 20. Use for statement.