Python Computer Science - Project 1 Basic Math

Question

Project 1-Basic Math (look at the attachments below for extra help)

Write a program that will perform basic arithmetic operations: sum, difference, product and modulus of 2 integers. 

 

Deliverables

  • User enters 2 integers.
  • The program finds the sum, difference, product and modulus of the integers. 
  • The program prints the results with appropriate labels.


SAMPLE RUN (User entry is in RED)

Enter the first integer 10

Enter the second integer 5

 

Results

The sum of 10 and 5 is 15

The difference of 10 and 5 is 5

The product of 10 and 5 is 50

The modulus of 10 and 5 is 0

Details
Attachments
Purchase An Answer Below

Have a similar question?