Solved: Write a C Program that counts Hexadecimal Digits

$30.00

Category:

Description

Solved: Write a C Program that counts Hexadecimal Digits

Write a C Program that counts Hexadecimal Digits

Write a program in C that takes as input a four-digit hexadecimal number and prints the next 10 hexadecimal numbers.

-define a hexadecimal number as int hexNum[4]

-Allow upper or Lowercase letters for the input and use uppercase letters for the hexadecimal output.

-For Example: 3C6f should be a valid input and should produce output 3C6F, 3C70, 3C71 and so on for the next 10 hexadecimal digits.

************************************************

Test the program with input 3C6f and output the 10 4-digit hexadecimal digits that follow

 


error: Content is protected !!