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

Username:   Password: 
 RegisterRegister   
 Can you make this program?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
thomasb




PostPosted: Mon Jan 24, 2011 1:52 pm   Post subject: Can you make this program?

There are 2.54 cm in one inch. Write a program to input the length of a desk in inches and output its length in centimetres. Use a constant for the conversion factor. Be sure to prompt for the input and to label the output. The program should use a sentinel value of "-1" to exit.
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Mon Jan 24, 2011 2:15 pm   Post subject: RE:Can you make this program?

We do not make programs for you...we can assist you in any concept you might need help with....

This is a simple program.
- Use a variable to store the input.
- Apply conversions.
- Display variable.

If variable is -1, exit program...
Tony




PostPosted: Mon Jan 24, 2011 2:25 pm   Post subject: RE:Can you make this program?

This is exactly why we have the template for new Turing Help threads....
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
thomasb




PostPosted: Mon Jan 24, 2011 2:59 pm   Post subject: RE:Can you make this program?

ok thanks
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  [ 4 Posts ]
Jump to:   


Style:  
Search: