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
mash [69]
3 years ago
13

Write a program that will ask the user for three different numerical values. The program should then decide whether the values a

re equally spaced. C++
Computers and Technology
1 answer:
tino4ka555 [31]3 years ago
8 0

Answer:

See the code in the Eplanation

Explanation:

// Online C++ compiler to run C++ program online

#include <iostream>

using namespace std;

int main() {

  int firstNumber;

  int secondNumber;

  int thirdNumber;

 

 

cout<< "Enter the firstNumber: ";

cin >> firstNumber;

cout << "Enter the secondNumer: ";

cin >> secondNumber;

cout << "Enter the thirdNumber: ";

cin >> thirdNumber;

int upperbound= abs(firstNumber-secondNumber);

int lowerbound= abs(secondNumber-thirdNumber);

if (lowerbound==upperbound){

cout << "The Three Numbers are Equally spaced";

   

}

  else{

      cout << "The Three Numbers are NOT Equally spaced";

}

}

You might be interested in
What is the file extension for an impress file??
gogolik [260]
<span>In this resource, files created in OOo Impress will be referred to as ODP files and Impress Files.</span>
6 0
3 years ago
Ethernet is a standard communication protocol embedded in software and hardware devices used for building a local area network (
kupik [55]
<span>Ethernet is a standard communication protocol embedded in software and hardware devices used for building a local area network (LAN). 
a. True 
b. False</span>
5 0
3 years ago
how to answer the questions on brainly? I've typed my answer in the box but there's no submit button or whatever, and the only t
Zigmanuir [339]

Answer:

push the add your answer button

Explanation:

4 0
3 years ago
Read 2 more answers
Cloud computing service providers manage different computing resources based on the services they offer. Which resources do IaaS
eimsori [14]

Answer:

1. C.operating system

2. A.applications

Explanation:

1. The Iaas is the infrastructure as a service, and storage, server, and network are the infrastructures. However, the Operating System is the platform, and hence it is the correct option for the first blank. We need to understand the exact meaning of the IaaS, PaaS and the SaaS as well as MaaS, to better understand cloud computing.

2. In the second case, we have been asked about the option that is not being covered by the PaaS, and Paas stands for the platform as a service. And the interface, storage, and virtualization is the platform whereas the Applications is an example of software. And it is being managed by SaaS, Hence, the correct option is A. Applications.

7 0
3 years ago
Which view in the View tab of the ribbon is the easiest place to add a header or a footer? Normal view Custom Views Page Layout
pashok25 [27]

Answer:

C.Page Layout view

Explanation:

On Edge 2020

8 0
3 years ago
Read 2 more answers
Other questions:
  • How do you think engel would feel about computers information systems and the internet?
    14·2 answers
  • What is a googleplex?
    7·1 answer
  • Database software lets the user sort information alphabetically, chronologically, or numerically. Which is NOT a commonly used d
    7·1 answer
  • How long does it take to go 80 miles if you are going 80 mph?
    8·2 answers
  • A professional photographer working for a top newspaper would like control over the quality and editing
    14·2 answers
  • You are the IT Administrator for the CorpNet.local domain. You are in the process of implementing a group strategy for your netw
    13·1 answer
  • Use NAND operator to write; P or Q, and P -Q make an everyday implication sentence using only NAND
    14·1 answer
  • What is not one of the top health concerns in the United States?physical activitymental healthtobacco useaccess to education
    8·1 answer
  • Please help me i’ll give you brainlist
    13·1 answer
  • What is number system in computer language ​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!