Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 hey i need help plz part 2
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
blazin




PostPosted: Wed Dec 01, 2004 11:04 pm   Post subject: hey i need help plz part 2

1)write a program which will display a conversion table from miles to kilometres (1 mile = i.6 km ). design the program so that the values for miles increase by 5. the table will start with 5 and end with 100 miles
YOUR OUTPUT WILL LOOK LIKE THIS.
miles kilometres
5 " " 8.0
10 " " 16.0
15 " " 24.0
. " " .
. " " .
100 " " 160.0

2) modify the program in question #3 so that it will allow a user to specify the starting and ending values of the table. the user will also be able to specify the increments. A sample run of the new program might look like this.
SAMPLE OUTPUT
enter staring value of conversion table. 4
enter ending value of conversion table. 40
enter table increment. 2

MILES KILOMETRES
4 " " 6.4
6 " " 9.6
8 " " 12.8
. " " .
. " " .
38 " " 60.0
40 " " 64.0

thank u for ur time and ur help
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Thu Dec 02, 2004 12:29 am   Post subject: (No subject)

See my reply here.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: