Skip to content

C# Console App that converts a Decimal number to Binary, Hexadecimal and Octal

Notifications You must be signed in to change notification settings

JacobJax/Decimal-Number-Converter

Repository files navigation

DECIMAL NUMBER CONVERTER 🧮

logo

Description

Decimal Number Converter(DNC), just as it sounds is a C# calculator that converts a decimal number to Binary, Octal and Hexadecimal.

The project was built as part of a class assignment for Computer Programming II class.

Features

  1. Decimal number conversion to Binary
  2. Decimal number conversion to Octal
  3. Decimal number conversion to Hexadecimal

Installation

The installation is in 2 easy steps

Requirements

Installation Process

  1. Clone the repository by: git clone https://github.com/JacobJax/Decimal-Number-Converter.git or click on the dropdown and download project as zipped file.
  2. Run dotnet run

Usage

Using the program easy and is accomplished in just two steps.

When you run dotnet run the program prompts you for a number.

Main page

Enter the number(in DECIMAL) you wish to convert and press Enter.

Workflow

Chose an option, by typing a number between 1 and 4 then press Enter to see result.

NOTE: If you enter a value less that 1 the value of your entry will be set to 1.

As stated in the program instructions, you can press letter N or type NO then press Enter to end the program.

End program

If you want to go again press any othey key then Enter to go again.

About

C# Console App that converts a Decimal number to Binary, Hexadecimal and Octal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages