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
Blizzard [7]
2 years ago
8

Write a program that reads three integers as inputs, and outputs the largest of the three values.

Computers and Technology
1 answer:
AlexFokin [52]2 years ago
3 0

The software is written in C++ and may be found in the explanation section below. C++ keywords and symbols are all capitalized. The least number of all three integers is determined via a nested if-else decision branch. After you've entered three integers, the application prints the least of them all.

<h3>What is the example of C++?</h3>

#include <iostream>

using namespace std;

int main() {

  int num1,num2,num3;

  cout<<"enter first integers"<<endl;

 cin>>num1;

  cout<<"enter second integers"<<endl;

  cin>>num2;

 cout<<"enter the third integers"<<endl;

  cin>>num3;

  if(num1<num2){

     if(num1<num3){

          cout<<"Smallest integer is "<<num1<<endl;

    } else{

          cout<<"Smallest integer is "<<num3<<endl;

      }

 }else {

 if(num2<num3){

    cout<<"Smallest integer is "<<num2<<endl;

} else{

    cout<<"Smallest integer is "<<num3<<endl;

     }

}

return 0;

}

Thus, it is written in C++ language.

For more details about C++ click here:

brainly.com/question/19581899

#SPJ1

You might be interested in
Jabari is writing pseudocode for a new video game he wants to create. What should he include in his pseudocode?
erastova [34]

Answer:

The answer is "Option c".

Explanation:

The Pseudocode is a definition of actions in an algorithm or some other method of software engineering. It also uses regular programming language, formal conventions, and is associated with human learning rather than computer learning, and the wrong choice can be defined as follows:

  • In choice a, It is wrong because there are so many languages, and it is not easy to understand all.
  • In choice b, It is wrong because it is used for better understanding.
  • In choice d, it is wrong because words are also not only common to programmers.
5 0
3 years ago
Hazel has just finished adding pictures to her holiday newsletter. She decides to crop an image. What is cropping an image?
NeTakaya
Cropping an image is resizing it to different ratios to suit your needs.

4 0
3 years ago
What is the limitation of the procedure forward()?
Rina8888 [55]

Answer:

sandwich breadtughug

Explanation:

Katty bread

5 0
3 years ago
Who was the mother of computer​
Margaret [11]

Answer:

Ada Lovelace was mother of the computer.

8 0
3 years ago
Read 2 more answers
_____ is human thinking and problem-solving by a machine, including learning, reasoning, and self-correction.
Delvig [45]
Yea, artificial intelligence :/
4 0
3 years ago
Other questions:
  • Write a unit test for addInventory(). Call redSweater.addInventory() with parameter sweaterShipment. Print the shown error if th
    9·2 answers
  • Which of the following is a unique feature of credit unions?
    6·1 answer
  • Which part of the Office interface is located across the top of the application window and organizes common features and command
    13·1 answer
  • Write a method called consecutive that accepts three integers as parameters and returns true if they are three consecutive numbe
    8·1 answer
  • In c++ 11, the ________ tells the compiler to determine the variable's data type from the initialization value.
    6·1 answer
  • Consider two different implementations of the same instruction set architecture (ISA). The instructions can be divided into four
    14·1 answer
  • At the settings window, the app buttons below the background thumbnails are used to change the
    10·1 answer
  • How big is an iphone xr
    11·2 answers
  • The ____ data source class that reduce your need for accessing individual Data Provider class when you are connecting to an Acce
    15·1 answer
  • Tools used to type text on Ms -paint​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!