Create a program that will take in an input integer number from the user.
Operations
In mathematics and computer science, an operation is an event that is carried out to satisfy a given task. Basic operations of a computer system are input, processing, output, storage, and control.
Basic Operators
An operator is a symbol that indicates an operation to be performed. We are familiar with operators in mathematics; operators used in computer programming are—in many ways—similar to mathematical operators.
Division Operator
We all learnt about division—and the division operator—in school. You probably know of both these symbols as representing division:
Modulus Operator
Modulus can be represented either as (mod or modulo) in computing operation. Modulus comes under arithmetic operations. Any number or variable which produces absolute value is modulus functionality. Magnitude of any function is totally changed by modulo operator as it changes even negative value to positive.
Operators
In the realm of programming, operators refer to the symbols that perform some function. They are tasked with instructing the compiler on the type of action that needs to be performed on the values passed as operands. Operators can be used in mathematical formulas and equations. In programming languages like Python, C, and Java, a variety of operators are defined.
Instructions:
- Use the C
programming language. Do not use any other programming language like Python. - Write one C file only for this problem.
- Only use variable declarations, assignments, operations, conditional constructs, and iterative constructs.
- Input should be taken in a value from the user (use scanf).
- Be sure to use loops to complete the solution.
- The use of functions is optional.
![Problem:
Create a program that will take in an input integer number from the user. And will display each digit in word form. However, three digits will instead be shown as an enlarged font. These
digits are 2, 4 and 5. These digits will be displayed in an arrangement of asterisks (*). The size of the digits will be based on the digit previous to the enlarged digit. If the first digit fed is
an enlarged input, then the default size is 5.
*******
*******
*
*******
*****
*****
Digit: 2
Size : 5
Digit: 4
Size : 5
Digit: 5
size : 5
Digit: 2
Size : 7
Digit: 4
Size : 7
Digit: 5
Size : 7
Example enlarged
Assume the following:
• The user will always input the correct input. No need to include error correction.
Before the enlarged inputs, the digit before should be an odd number.
• The left-most digit and right-most is never zero.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F2cbcfd60-64f5-4aab-9338-a56468278bd8%2Fe4c1a4a3-60c4-4c55-8ae3-ade17c18b967%2Fpkj59sl_processed.png&w=3840&q=75)
![Sample Input and Output:
Number: 727475
Number: 13579206
Number: 495528
seven
one
three
***
***
***
seven
nine
nine
seven
seven
zero
six
eight](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F2cbcfd60-64f5-4aab-9338-a56468278bd8%2Fe4c1a4a3-60c4-4c55-8ae3-ade17c18b967%2Fytca284_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps with 5 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)