From a32b835eb935f0ea4b40a84f5be7fb0acbe8e1e1 Mon Sep 17 00:00:00 2001 From: kamakshipal1-tech Date: Fri, 14 Nov 2025 23:42:13 +0530 Subject: [PATCH] Modified instructions of hexadecimal conversion by defining what is hexadecimal --- exercises/practice/hexadecimal/.docs/instructions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exercises/practice/hexadecimal/.docs/instructions.md b/exercises/practice/hexadecimal/.docs/instructions.md index a3c648e32f..1a41596d9a 100644 --- a/exercises/practice/hexadecimal/.docs/instructions.md +++ b/exercises/practice/hexadecimal/.docs/instructions.md @@ -1,5 +1,8 @@ # Instructions +a hexadecimal number is a number with base 16.It uses 16 symbols: 1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. +where A=11, B=12, C=13, D=14, E=15, F=16 + Convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion). On the web we use hexadecimal to represent colors, e.g. green: 008000, teal: 008080, navy: 000080).