Details of this Paper

write a program that computes the power loss by entering miles. The formula is power loss=3200*miles. When the user enter 70 miles, the program should print out 20 miles 30, 40, 50, 60 miles, respectively.

Description

solution


Question

write a program that computes the power loss by entering miles. The formula is power loss=3200*miles. When the user enter 70 miles, the program should print out 20 miles 30, 40, 50, 60 miles, respectively.;It looks like this;Enter a distance in miles 60;powerloss for 20 miles is 64000 w.;powerloss for 30 miles is 96000 w.;powerloss for 40 miles is 128000 w.;powerloss for 50 miles is 160000 w.;powerloss for 60 miles is 192000 w.;Language: C++

 

Paper#64818 | Written in 18-Jul-2015

Price : $19
SiteLock