198k views
4 votes
1. Converter System

Following features are supposed to be in this project:
• Number systems conversion
o Interconversion of binary, decimal, octal and hexadecimal.
• Length parameters conversion
o Interconversion of inch, foot, meter, mile.
• Time conversion
o Interconversion of any 10 time zones.
• Temperature conversion
o Foreign heigh and Celsius scale interconversion

write its algorithm and flowchart

1 Answer

4 votes

Creating algorithms and flowcharts for a converter system involves breaking down the steps and processes for each conversion feature.

Below are example algorithms for the specified conversions:

Algorithm for Number Systems Conversion:

1. Input: Select the original number system and enter the number.

2. Perform conversion based on selection:

  • Binary to Decimal: Convert binary to decimal using the formula.
  • Decimal to Binary: Divide the decimal by 2 and note the remainders.
  • Octal to Decimal: Convert octal to decimal using the positional system

3. Output: Display the converted number.

Algorithm for Length Parameters Conversion:

1. Input: Select the original length parameter and enter the value.

2. Perform conversion based on selection:

  • Inch to Foot: Divide inches by 12.
  • Foot to Inch: Multiply feet by 12.
  • Inch to Meter: Multiply inches by 0.0254.

3. Output: Display the converted value.

User FisherMartyn
by
8.2k points