Ask the user for two numbers (these can be entered in any order). Then print the numbers, and tell the user which one is closer to 50 (whether higher or lower). Some examples:

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 8PE
icon
Related questions
Question

Please I need to solve this question using the C++ programming language with Visual Studio 2019. Thank you.

 

Ask the user for two numbers (these can be entered in any order). Then print the numbers, and tell the
user which one is closer to 50 (whether higher or lower). Some examples:
Transcribed Image Text:Ask the user for two numbers (these can be entered in any order). Then print the numbers, and tell the user which one is closer to 50 (whether higher or lower). Some examples:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Introduction to computer system
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L