6.13 LAB: Max of 2 Write a program that takes in two integers and outputs the larger value. Ex: If the input is: the output is: 4 328740 2125898 qday? LAB 6.13.1: LAB: Max of 2 0/ 10 ACTIVITY main.py Load default template. Type your code here. ** 2 Run your program as often as you'd like, before submitting for grading. Below, type any needed Develop mode Submit mode input values in the first box, then click Run program and observe the program's output in the second box. Enter program input (optional)

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter3: Input/output
Section: Chapter Questions
Problem 12SA: 12. What is the output of the following program? (2, 3, 6, 8) #include <iostream> #include...
icon
Related questions
Question

This is the screenshot of my python max of 2 numbers, the screenshot can explain more.

6.13 LAB: Max of 2
Write a program that takes in two integers and outputs the larger value.
Ex: If the input is:
4
2
the output is:
4
328740.2125898.qx3zqy7
LAB
6.13.1: LAB: Max of 2
0/ 10
ACTIVITY
main.py
Load default template...
1
Type your code here.
Run your program as often as you'd like, before submitting for grading. Below, type any needed
input values in the first box, then click Run program and observe the program's output in the
Develop mode
Submit mode
second box.
Enter program input (optional)
If your code requires input values, provide them here.
main.py
(Your program)
Run program
Input (from above)
Output (shown below)
Program output displayed here
Transcribed Image Text:6.13 LAB: Max of 2 Write a program that takes in two integers and outputs the larger value. Ex: If the input is: 4 2 the output is: 4 328740.2125898.qx3zqy7 LAB 6.13.1: LAB: Max of 2 0/ 10 ACTIVITY main.py Load default template... 1 Type your code here. Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the Develop mode Submit mode second box. Enter program input (optional) If your code requires input values, provide them here. main.py (Your program) Run program Input (from above) Output (shown below) Program output displayed here
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning