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

Plz help!! And show work plz 18 points!
How did art and literature in late sixteenth and seventeenth century europe reflect the political and religous conflicts of the time?
What expression shows the relationship between the value of any term and n, its position in the sequence for the given sequence? -5, -8, -11, -14, -17, ...
is it mitosis or meiosis that produces genetically identical cells
Why did allies need help from the united states ww1?
which equation can be used to find the measure of an angle that is supplementary to POS
⦁ Write the equation of the circle in general form. Show your work. This is from number 2 BTW
The Jewish religious leaders desired Jesus' death. True False
If you double the mass but don't change the net force what is the result on the acceleration
A town had about 2120 acres of pine trees 40 years ago. Only about 13% of the pine trees remain.how many acres of pine trees remain?