# : Magic Number Programming: Magic program ask user to enter three integers by the user, the three integers represent left bound, right bound and arbitrary

: Magic Number Programming:
Magic program ask user to enter three integers by the user, the three integers represent left bound,
right bound and arbitrary digit ‘m’, where left bound is less than right bound. Program should print all
magic numbers in the given range that doesn’t contain digit ‘m’. The number is magic if its every digit is
larger than the sum of digits which are on the right side of that digit. For example, 94210 is magic
number because 1 > 0, 2 > 1+0, 4>2+1+0, and 9 > 4+2+1+0.
Write a complete C program that Call only One Function (magic_numbers) that will print all magic
numbers excluding a given digit ‘m’ that also entered by user ?
Input Sample :
Enter Left bound: 740
Enter Right bound:850
Enter digit to exclude it:2
Output sample:
Magic Numbers in Range Left=740, Right=850 with exclude digit m= 2 are:
740 741 750 751 760 810 830 831 840 841 843 850
Your function prototype is like this:
void magic_numbers(int left, int right, int digit) ;

(550 words)

Approximate price: \$22

## How it Works

1

It only takes a couple of minutes to fill in your details, select the type of paper you need (essay, term paper, etc.), give us all necessary information regarding your assignment.

2

Once we receive your request, one of our customer support representatives will contact you within 24 hours with more specific information about how much it'll cost for this particular project.

3

After receiving payment confirmation via PayPal or credit card – we begin working on your detailed outline, which is based on the requirements given by yourself upon ordering.

4

Once approved, your order is complete and will be emailed directly to the email address provided before payment was made!