Click here to Skip to main content
16,014,677 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Can comparisons be done without If statements in C Pin
Stephen Hewitt11-Dec-06 15:56
Stephen Hewitt11-Dec-06 15:56 
AnswerRe: Can comparisons be done without If statements in C Pin
ShermansLagoon8-Jan-07 3:09
ShermansLagoon8-Jan-07 3:09 
AnswerRe: Can comparisons be done without If statements in C Pin
Rilhas30-Jan-07 12:57
Rilhas30-Jan-07 12:57 
Questionhow to read outlook express file inbox.dbx to simple english Pin
naveen padiyar10-Dec-06 19:06
naveen padiyar10-Dec-06 19:06 
QuestionRe: Control generation of my own public & private key pairs using C# Pin
edchan10-Dec-06 18:53
edchan10-Dec-06 18:53 
Questionconvert Metric to English and English to Metric using pseudocod Pin
xcom20018-Dec-06 21:15
xcom20018-Dec-06 21:15 
AnswerRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon9-Dec-06 6:15
El Corazon9-Dec-06 6:15 
AnswerRe: convert Metric to English and English to Metric using pseudocod Pin
#1239-Dec-06 21:53
#1239-Dec-06 21:53 
xcom2001 wrote:
This is my first programming class and I need help. I am being asked to design an algorithm for a converter that converts
units in Metric to English and vice versa. The choice of code is pseudocode.

Please if someone would at least write an example for me of this code I could study it and use it as a teaching aide to help me understand how this works.


Here is an example of one of the routines you will need:

To convert some centigrade degrees to some fahrenheit degrees:
  Put the centigrade degrees into the fahrenheit degrees.
  Multiply the fahrenheit degrees by 9.
  Divide the fahrenheit degrees by 5.
  Add 32 to the fahrenheit degrees.
Incidently, though most people would consider this "pseudocode", it is actually Plain English code and can be compiled and run using the Osmosian Order's Plain English development system (which was written entirely in Plain English).
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
toxcct10-Dec-06 4:57
toxcct10-Dec-06 4:57 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Chris Maunder10-Dec-06 9:46
cofounderChris Maunder10-Dec-06 9:46 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 10:34
#12310-Dec-06 10:34 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Chris Maunder10-Dec-06 10:50
cofounderChris Maunder10-Dec-06 10:50 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 12:11
#12310-Dec-06 12:11 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
toxcct10-Dec-06 22:30
toxcct10-Dec-06 22:30 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad11-Dec-06 4:23
professionalPaul Conrad11-Dec-06 4:23 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 15:40
professionalPaul Conrad10-Dec-06 15:40 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 14:37
Stephen Hewitt10-Dec-06 14:37 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 15:09
#12310-Dec-06 15:09 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 15:45
professionalPaul Conrad10-Dec-06 15:45 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Shog911-Dec-06 13:54
sitebuilderShog911-Dec-06 13:54 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 14:02
#12311-Dec-06 14:02 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 14:11
#12311-Dec-06 14:11 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Shog911-Dec-06 14:53
sitebuilderShog911-Dec-06 14:53 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 15:16
#12311-Dec-06 15:16 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 15:42
professionalPaul Conrad10-Dec-06 15:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.