[ASSIGMENT] Numeral Systems Converter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

[ASSIGMENT] Numeral Systems Converter

A numeral system is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner. Make a program like a calculator to convert from one numeral system to another one. Input Example: D 45 H Output Example:2D Where D is Decimal as input and H is Hexadecimal as output. Use this symbols: D - Decimal O - Octal B - Binary H -Hexadecimal I already send as assigment to SL.

9th Apr 2018, 8:36 PM
Jorge Sanchez Tamayo
Jorge Sanchez Tamayo - avatar
3 Answers
+ 4
This my example of code for the assigment. Thanks https://code.sololearn.com/cb9trOCX603C/?ref=app
9th Apr 2018, 8:38 PM
Jorge Sanchez Tamayo
Jorge Sanchez Tamayo - avatar
+ 3
java has functions too, but the point of the challenge is to make the code without use the functions.
12th Apr 2018, 9:24 PM
Jorge Sanchez Tamayo
Jorge Sanchez Tamayo - avatar
+ 2
c# has really nice built in functions for exactly this https://code.sololearn.com/csbsnwVHHqAI/?ref=app
10th Apr 2018, 11:29 AM
hinanawi
hinanawi - avatar