train travels 40 miles .per hour for 3 hours, the distance traveled is 120 miles. need input box asking for the speed of the vehicle in miles per- hour, followed by another input box asking for the amount of time, in hours, that the vehicle has traveled. it should use a loop to display in a list box the distance the vehicle has traveled for each hour of that time period.
marylw24 0 Newbie Poster
happygeek 2,411 Most Valuable Poster Team Colleague Featured Poster
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.