Problem: Read your name and one numeric value [Omani Rial], print the following in below output, read user choice. Find and print equivalent currency value. Formulas: 1 Omani Rial = 2.60 US Dollars 1 Omani Rial = 2.18 Euros 1 Omani Rial = 1.86 British pounds 1 Omani Rial Two Sample Outputs: [For reference only] %3D %3D 9.55 UAE Dirhams Ente: your name OnAr Khalid Ernter your lame Akr am Said Enter amount in Cmani Rials 15.7 Enter amount in Omani Rials 25 Currency Converter Currency Converter 1. Change to US Dollars 2. Change to Euros 3. Change to British Pound 4. Change to UAE Dirhams 1. Change to US Dollars 2. Change to Euros 3. Change to British Pound 4. Change to UAE Dirhams ** Other EXIT *** ** Other EXIT *** Select one choice 2 Select one choice 7 Dear Omar Khalid Dear Akram Said 15 700 000 OMD- 3A 225900 Furog Wrong choice
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.
![Problem:
Read your name and one numeric value [Omani Rial], print the following me
in below output, read user choice.
Find and print equivalent currency value.
Formulas:
1 Omani Rial = 2.60 US Dollars
1 Omani Rial = 2.18 Euros
1 Omani Rial = 1.86 British pounds
1 Omani Rial = 9.55 UAE Dirhams
Two Sample Outputs: [For reference only]
%3D
Ente: your name Omar Khalid
Ernter your nane Akram Said
Enter amount in Cmasi Rials 15.7
Enter amount in Omani Rial 25
Currency Converter
Currency Converter
1. Change to US Dollars
2. Change to Euros
3. Change to British Pound
4. Change to UAE Dirhams
1. Change to US Dollars
2. Change to Euros
3. Change to British Pound
4. Change to UAE Dirhams
** Other EXIT ***
** Other EXIT ***
Select one choice 2
Select one choice 7
Dear Omar Khalid
Dear Akram Said
15.700000 OMR = 34.225998 Euros
Wrong choice](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F863e5dc5-a987-4548-8914-6e53fe65d8d1%2Fa3ac7b5a-0d4f-4b14-a89b-748926700bf9%2Fgt2s2d_processed.jpeg&w=3840&q=75)
![Write a C program to perform the following using if else ladder or switch
statements.
Note:
Your ID and Name must be mentioned in comments.
The program shall be solved either by using if else ladder or switch only.
No marks will be awarded if the problem is solved using any other
technique.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F863e5dc5-a987-4548-8914-6e53fe65d8d1%2Fa3ac7b5a-0d4f-4b14-a89b-748926700bf9%2Fbne9xvr_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)