Skip to content

Description Program that receives by console seven segments numbers and converts them into string

Notifications You must be signed in to change notification settings

Valeryibarra/PSL_SevenSegments_ValeryI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PSL_SevenSegments_ValeryI

Description: Program that receives by console seven segments numbers and converts them into string

Author: Valery Ibarra Ibañez

Assumptions:

-If a segment is a digit [0, 9] it is assumed to be a NaN (Not a Number) and will be represented in the output as "x". -The program can read more than 3 lines, but they must be multiples of 3 (6,9,12, ...)
-There must be a line break at the end.

Description:

A string with a multiple number of 3 lines is entered through the command line. The string by means of the following characters "_" "|" will represent digit using the seven-segment theory. For this reason, each character has 3 spaces per line and has 3 lines

AllNumbers

Instructions:

1.You have to be inside the project folder.

2.Write in the terminal
cd src\logical

3.Use the following command to compile the Core class
javac Core.java

4.Return to the src directory with the following command
cd ..

5.Use the following command to execute(run) the Core class
java -cp . logical.Core

6.Now you can enter the input!

About

Description Program that receives by console seven segments numbers and converts them into string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages