Overview This program will prompt a user for a first_num and a second_num and then tell you how many times first nun goes into second_num, and the remainder. Expected Output Example 1 Enter the first number: Enter the second number: 5 goes into 6 1 times with a remainder of 1 Example 2 Enter the first number: Enter the second number: 5 goes into 21 4 times with a remainder of 1 Specifications • You should submit a single file called M5A1.py • It should follow the submission standards outlined here: Submission Standards • Your program populate an integer named first_num using input • Your program populate an integer named (second_num using input • Your program should have a single print statement that uses an f-string and Triekse

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section: Chapter Questions
Problem 9PP
icon
Related questions
Question
Overview
This program will prompt a user for a first_num and a second_num and then tell you how many times first_num goes into second_num), and the remainder.
Expected Output
Example 1
Enter the first number: 6
Enter the second number: 5
5 goes into 6 1 times with a remainder of 1
Example 2
Enter the first number: 21
Enter the second number:
5 goes into 21 4 times with a remainder of 1
Specifications
• You should submit a single file called M5A1.py
• It should follow the submission standards outlined here: Submission Standards
• Your program populate an integer named first_num using input
• Your program populate an integer named (second_num using input
• Your program should have a single print statement that uses an f-string
Tips and Tricks
It's as simple as it seems; try different math functions and see what output they produce. Experiment as you go.
Transcribed Image Text:Overview This program will prompt a user for a first_num and a second_num and then tell you how many times first_num goes into second_num), and the remainder. Expected Output Example 1 Enter the first number: 6 Enter the second number: 5 5 goes into 6 1 times with a remainder of 1 Example 2 Enter the first number: 21 Enter the second number: 5 goes into 21 4 times with a remainder of 1 Specifications • You should submit a single file called M5A1.py • It should follow the submission standards outlined here: Submission Standards • Your program populate an integer named first_num using input • Your program populate an integer named (second_num using input • Your program should have a single print statement that uses an f-string Tips and Tricks It's as simple as it seems; try different math functions and see what output they produce. Experiment as you go.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr