Skip to content

OrdoGeek/DislexyCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

DyslexicCalculator

CHALLENGE

This problem consists on developing a calculator for dyslexic people, that replaces the numbers for its name in letters.

For instance: 2 + 2 = 4. The calculator must be able to respond to the enter "DOS MAS DOS" and prints "CUATRO". Note: The code is in spanish.

Input

Firs, will be a N (0<N<122) which will be the number of cases to calculate. Then, the user will type N operations in the format NUMBER OPERATION NUMBER. The numbers could be from 0 to 10, and the operations could be plus and subtraction.

Output

For each case must be printed "CASO N: RESULTADO". If a result is negative must be printed the word "MENOS" before the number.

CODE - SOLUTION

You can find the python file attached to this reposirory.

IMPLEMENTATION

Screenshot from 2023-07-27 20-06-08

About

This problem consists on developing a simple calculator for dyslexic people

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages