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

How do u determine which line is faster when comparing two lines on a time vs position graph??
2,783 and 7,283 The value of 2 in _ is _ times the value of 2 in _. ?
Explain how to determine the volume of an irregularly shaped object such as a rock
what is the correct definition for tan 0 tan0=1/sin0 tan0=1/cos0 tan0=cos0/sin0 tan0=sin0/cos0 please explain if possible.
How could you use a microscope to help determine whether a specimen is a living or nonliving thing
does the eiffel tower lean into the shade when its sunny outside?
Simplify the given expression: (6 + 2i) − (8 − 3i)
How can I change 9x-7y=-7 into slope intercept form ?
Fill the blank, please: ....is the transfer of thermal energy between particles of matter that are touching.
A 0.160 kg ball attached to a light cord is swung in a vertical circle of radius 70.0 cm. At the top of the swing, the speed of the ball is 3.26 m/s. The cent