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

a sailfish can go as fast as 68mph. in 1 min. can a sailfish swim as far as 1 mile? explain the answer.
What does 'novia es novia las demas en visto' mean?
I need help solving this
How did the three fifths compromise satisfy both the North and the South?
Fill in the blank with the correct conjunction of the verb in the parentheses in the present imperative (commander-nous) une pizza A.commandons B.commandon C.n
Write an essay explaining why people should speak up and address issues that matter in the world today.
Explain how the United States was able to defeat the Japanese in the Pacific.
The quotient of three and the quantity of three less than one-sixth of a number x?
Within the rising action of act 2 in Diary of Anne frank the play mr. Kraler tells the story about Carl, a man from Utrecht. Why does Carl's behavior make Mr. K
Fill in the blank with the correct conjunction of the verb in the parentheses in the present imperative (commander-nous) une pizza A.commandons B.commandon C.n