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
Ilia_Sergeevich [38]
3 years ago
12

Write a program that reads in two integers typed on the keyboard and outputs their sum, difference, and product.

Computers and Technology
1 answer:
dsp733 years ago
6 0
# Written in python

a = int(input("Enter an integer: "))
b = int(input("Enter an integer: "))

sum = a + b

# subtract the smaller number from the bigger
if a < b:
    dif = a - b
else:
    dif = b - a

prod = a * b

print("The sum is", sum)
print("The dif is", dif)
print("The product is", prod)
You might be interested in
The _________ attack exploits the common use of a modular exponentiation algorithm in RSA encryption and decryption, but can be
coldgirl [10]

Answer:

The answer is "timing".

Explanation:

  • The time attack would be a security vulnerability that enables attackers that identify computer systems or network security issues by analyzing the period of the program's reaction to multiple levels.  
  • It is used in both RSA encryption and decryption of the modular exponentiation method but could be modified for just about any system not seem running in a fixed period.
6 0
3 years ago
After a webcast is completed there are no files left on your computer.
astra-53 [7]
What are you askinggggggggggg

7 0
3 years ago
Match the protocols to their use. HTTP POP3 SMTP FTP You check email in your inbox. arrowRight You send an email to a friend. ar
emmainna [20.7K]

Answer:

HTTP stands for "Hyper Text Transfer Protocol" and is used for transferring readable documents across the internet. This matches the action "You visit a website"

POP3  stands for "Post Office Protocol 3" and is used for reading e-mail.  This matches to the action "You check email in your inbox"

SMTP stands for "Simple Mail Transfer Protocol", and is used for sending email.  This matches the action "You send an email to a friend".

FTP stands for "File Transfer Protocol", and is used for transferring files to and from other machines.  This matches the action "You transfer a text document", although truthfully that description is so vague it actually matches all four of the given protocols.

3 0
2 years ago
Inserting diagrams into documents can help readers better understand document text. True or False?
Masja [62]
It's true because you can get a better understanding when looking at the evidence.
4 0
3 years ago
Walter D is 7 inches after he has secx its 9 inches how much did secx add?
lubasha [3.4K]

Answer:

2

Explanation:

Hope this helps <3
(I also just want to note that this question is a bit sussy lol)

7 0
2 years ago
Other questions:
  • Lonic compounds are also known as <br> a. salts <br> b. valence <br> c.organic <br> d.elements
    10·2 answers
  • In Java.Use a single for loop to output odd numbers, even numbers, and an arithmetic function of an odd and even number. Use the
    7·1 answer
  • Benjamin recently issued new mobile phones to the marketing team at his company. Each phone can transmit encrypted information f
    8·1 answer
  • Maeve has created the website, but she is not able to include more than one blank space at a time. Even if she hits the SPACE bu
    6·1 answer
  • What are entity-relationship diagrams and how are they used? What symbol is used for a relationship? What is an associative enti
    5·1 answer
  • What is an border in html
    8·1 answer
  • Identify the equation that translates Y = In(x) five units down.​
    8·1 answer
  • Cell address A4 in a formula means it is a _________Mixed cell reference​
    11·1 answer
  • Write a one page report describing the computer the client used, who else had access to it and other relevant findings. Referenc
    7·1 answer
  • PLEASE HELP!!! Me turn this into a video &amp; add liana flores- raise the moon (instrumental) in the background for the music.
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!