archkris8066 archkris8066
  • 13-11-2019
  • Computers and Technology
contestada

Write a program that prompts the user to input two numbers

Respuesta :

kalsoomtahir1 kalsoomtahir1
  • 14-11-2019

Answer:

input two numbers x and y

Explanation:

#include <iostream.h>

# include <conio.h>

int main ()

{

int x , y;

cout<<"Enter first number ";

cin>> x;

cout<<"Enter second number";

cin>>y;

if (x > y)

cout<<"The number is ="<< x;

else

cout << "The number is =" <<y;

getch();

}

Answer Link

Otras preguntas

Which of the following statements can be inferred from the map below?
How many renassance center were locales in the holy Roman empire?
a sentence for influx
Can someone help me understand what this means plz
Dramatic changes in sea level occurred throughout the Cenozoic era and the rise and fall of sea level is recorded in the rocks of the _______________. Amazing
ava's class bought 6 packages of balloons for a school celebration. Each package had 30 balloons. If 17 balloons were left over, how many balloons were used for
14x^2-12+22x/7x-3 como hago esta division?
That man over there says that women need to be helped into carriages, and lifted over ditches, and to have the best place everywhere. Nobody ever helps me into
How was Mary Brewster different from most pilgrim women A. she belived in the church of England B. she survived the first winterC. she had no husband or childre
please answer fast Describe the transformations that maps triangle A to triangle A'. A) translate 10 units up and then reflect over the y-axis B) transl