

Write a program that prompts the user for a number and then displays the number using characters to simulate the effect of a seven-segment display.Ĭharacters other than digits should be ignored. Ignoring the ASCII art, the question reads: I have been reading the golf code seven-segment challenge, but even though I understand that theory it's still hard to convince my brain into doing what I want with multiple arrays. I have a hard time in my head translating from sequence to digits I got the sequence for each digit where to turn in it on and offīut I have a hard time getting the process_digit(int digit, int position) function to work. In K.N Kings "C programming: A modern approach", chapter 10 exercise 7, the task is to make a digit converter from normal digits to 7-segment digits in ASCII art, like this: _ _ _ _ _ _ _ _
