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

What percent is represented by the shaded area?
What do you mean by consistency in accounting ?
Divisibility rules for 2, 5, and 10 Which numbers are divisible by 2? A)765 B)943 C)940 or none of these
Which mathematical operation changes 2amd 1/3 to 2
HELP!!!!!!!!! 1. She's been very depressed ever since she became ……………………………………… EMPLOY 2. We made an ………………………... about whose job it is to take out the rubbis
What conclusion best supports Lamar work?
Below are the equations of four lines : A : y= 3x-4 B: y = -3x +4 C : y = 3x-2.5 D: x= 3y-4 Which lines are parallel ?​
The axis of symmetry for the graph of the function f(x) = 2x2 + 3x + 10 is x=6. What is the value of b? Ο Ο Ο Ο 3
Why can't non vascular plant be larger?
1. Which of these is an imaginary line?a. Equator b. Longitude c. Latitude d. all of these​