okay I need a little help here on next program this what it say for first one which I have done.

Create a counting program that counts backward from 100 to 1 in increments of 10.
#include < stdio.h >
int main ()
{
Int i;
while ( I > = 1 )
{
printf ( “ % d \ n “ , i ) ;
i = i – 10 ;
}
system ( “ pause “ ) ;
return 0 ;
}
now the next thing to do is this program and I cant figure it out can some help me how write it out please.

Create a counting program that prompts the user for three inputs (shown next) that determine how and what to count. Store the user’s answers in variables. Use the acquired data to build your counting program with a for loop and display the results to the user:

•Beginning number to start counting from

•Ending number to stop counting at

.Increment number

Man it's been a while since I've done C.

Look up scanf. You need to know the data type and the name of the variable you want to store it in (the variable must have already been made).
You do that three times for the 3 inputs asked from the user and after that it's just a matter of using those variables in the loop.

So instead of saying:
int i = 0;
while (i < 10)
{
i = i + 5;
}

you can do this:
int i = 0;
int j = 0;

-type your scanf code here, specifying the data type and the variable to be used (j in this case)

//when the program runs and it //gets to the scanf portion. The //user will be prompted to type //something in. Let's say we're at //that point and the user types in //10. 10 is stored in j.

while (i < j)
{
i = i+5;
}

You can add another scanf with another variable.

Jesus Christ. I'm making it harder than it looks. I apologize. It's really simple and I'm sure you'll get it after you read up scanf syntax. I mean I could do that for you, but I am also procrastinating and working on a physics problem that I can't figure out. Best of luck!

Sure! I can help you with that. Here's an example of how you can write the program:

```cpp
#include <stdio.h>

int main() {
int start, end, increment;

printf("Enter the beginning number: ");
scanf("%d", &start);

printf("Enter the ending number: ");
scanf("%d", &end);

printf("Enter the increment number: ");
scanf("%d", &increment);

printf("Counting from %d to %d in increments of %d:\n", start, end, increment);

for (int i = start; i <= end; i += increment) {
printf("%d\n", i);
}

return 0;
}
```

In this program, we first declare three variables `start`, `end`, and `increment` to store the user's inputs. We then prompt the user to enter these three values using the `printf` and `scanf` functions.

Next, we use a `for` loop to count from the `start` number to the `end` number in increments of `increment`. The loop continues as long as the value of `i` is less than or equal to the `end` value. Inside the loop, we print the value of `i` using `printf`.

Finally, the program ends by returning 0 from the `main` function.

I hope this helps! Let me know if you have any further questions.