i need the solution to this 3 programs i c++ :

1. Write a program that inputes frome the keyboard an integer x and calculates the sum of all numbers from 1 to x.

2. Write a program that uses a for-loop to output the power of 2 from 2 to 2048.

3. using a while-loop write a program that inputs from the user an integer x and calculates outputs on the screen the product of all odd numbers between 5 and x.

We aren't giving free solutions and we aren't building programs for you ...

You should first show what you've done so far and ask specific questions about that what you don't understand ...

This is pretty simple for, while loop homework for you , give it a try.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.