1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
rosijanka [135]
1 year ago
3

Create a program that will allow user to input arithmetic operator, first number and second number

Computers and Technology
1 answer:
Semmy [17]1 year ago
5 0

A program that will allow the user to input the arithmetic operator, the first number, and the second number and then perform a result based on the condition that when the arithmetic operator "+" or "addition" performs addition for the first number and second number and use (for loop) to display count down from result to 1 is given below:

<h3>The Program</h3>

a = int(input("Enter First Number: "))

b = int(input("Enter Second Number: "))

print("Enter which operation would you like to perform?")

ko = input("Enter any of these char for specific operation +,-,*,/: ")

result = 0

if ko == '+':

   result = a + b

elif ko == '-':

   result = a - b

elif ko == '*':

   result = a * b

elif ko == '/':

  result = a / b

else:

   print("Error")

print(a, ko, b, ":", result)

Read more about programming here:

brainly.com/question/23275071

#SPJ1

You might be interested in
I cannot figure out how to cancel my Brainly subscription. I can’t click “account settings” and “cancel subscription” cuz when I
laila [671]
You should be able to access settings and cancel it. Have you tried going through Brainly on the web if you’re going through it on the app and vice versa?
3 0
3 years ago
Read 2 more answers
A macro enables you to automate repetitive tasks by
Alla [95]

Answer:

To automate a repetitive task, you can record a macro with the Macro Recorder in Microsoft Excel. Imagine you have dates in random formats and you want to apply a single format to all of them. A macro can do that for you. You can record a macro applying the format you want, and then replay the macro whenever needed.

Explanation:

5 0
3 years ago
The (blank) option will help determine the overall look of her presentation.
Valentin [98]

The slide layout option will help determine the overall look of her presentation.

<h3>Which option in a presentation program is vital?</h3>

Slide layouts is known to be a function that is made of  all the tools in regards to formatting, positioning, and others used in a slide and it is one that have all of the content that is seen on a slide.

Hence, The slide layout option will help determine the overall look of her presentation.

Learn more about presentation from

brainly.com/question/2189162

#SPJ1

7 0
2 years ago
Which function in Ecels tells how many numeric entries are there​
goldenfox [79]

Answer:

CHKNUM is the answer

Explanation:

good luck

4 0
3 years ago
Read 2 more answers
Select the correct answer.
saveliy_v [14]

Answer:

its TASCAM porta studio

Explanation: i got it right on edge

6 0
3 years ago
Other questions:
  • Is a factory-formatted hard disk split into a fixed number of files?
    14·1 answer
  • Hey im trying to get a refund because i got charged 24$ for the yearly plan and i didnt know i would get charged can i get the y
    11·1 answer
  • When records are in ____ order, they are arranged one after another on the basis of the value in a particular field.?
    9·1 answer
  • Can you please help me by sending a proposal onnanotechnology in networking applications
    8·1 answer
  • Server 2016 is compatible for Powershell 5.0 State True or False.
    7·1 answer
  • What would this look like if you were to write the pseudocode but for c++?
    5·1 answer
  • Use the drop down menu to complete the sentences about changing and customizing the calendar view in outlook 2016​
    10·2 answers
  • During which phase of the writing process is it best to have other
    11·1 answer
  • In a school 50% of the students are younger than 10, 1/20 are 10 years old and 1/10 are older than 10 but younger than 12, the r
    7·1 answer
  • Match the correct answers with the statements.
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!