please help me to create a program about THE DECLARATION OF TWO VARIABLES CALLED COUNT AND DISTANCE.

Recommended Answers

int count;
int distance;

If you couldn't do that on your own, you really, really need to go right back to the beginning and start again.

Jump to Post

All 2 Replies

int count;
int distance;

If you couldn't do that on your own, you really, really need to go right back to the beginning and start again.

Also, normally we don't do your homework for you. Of course, you still need to initialize your variables to a sane value. I think Moschops is leaving that exercise to you... :-)

Be a part of the DaniWeb community

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