I have coded to a program with following aim, conditions and constraints- Aim- I have coded a program to count the number of sevens and nines in the phone number. My output has three components- Total number of sevens and nines in the phone number Number of sevens, and Number of nines My program not only tells the combined number of sevens and nines but also tells the number of sevens and nines separately. Conditions - The number length of the phone is minimum of 5 digits and maximum of 12 digits. If a number that is less than 5 or greater than 12 is given as an input, my code prompts the user that the number is invalid. Also, it is important to note that digits from 0 to 9 can be in any order. Aesthetics of the scene - I have designed an office scene with a desk and a telephone, where the telephone acts as an operator asking for the input and delivering the right output as the answer.
I have made all artwork and code on my own.