mmdtyagi
mmdtyagi mmdtyagi
  • 04-03-2021
  • Computers and Technology
contestada


Write a program in QBasic to enter two numbers and print the greater one.​

Respuesta :

Sarthak2005
Sarthak2005 Sarthak2005
  • 04-03-2021

Answer:

REM

CLS

INPUT “ENTER ANY TWO NUMBERS”; A, B

IF A > B THEN

PRINT A; “IS GREATER”

ELSE

PRINT B; “IS GREATER”

END IF

END

Answer Link
ADVENTUROUSBOY
ADVENTUROUSBOY ADVENTUROUSBOY
  • 04-03-2021

class one

{

public static void main ( )

{

int a = 1,b = 2;

if ( a > b )

{

System.out.print (" greater number is " + a);

}

else if ( a < b )

{

System.out.print (" greater number is " + b);

}

}

}

Answer Link

Otras preguntas

The layer of the atmospher where many airplanes would fly to avoid thundrrstorms and other turbulence is called
Are the corresponding angles congruent? Explain why or why not.
How were kapos like the camp administration, and how were they like the other prisoners? Use details from the memoir to support your answer.
A savings account that pays interest every 3 months is said to have a ___ interest period
How do i can change this sentence : A modern physician in a small town not only is proficient in general medicine but surgery as well. To parallel structure?
Individuals undergoing hypnosis ________.
yo need help asap pls !!! markin da brainiest too !!!
the Fourteenth Amendment How did the action resolve a longstanding conflict in post-Civil War America? It defined the process for readmittance of the former Con
How did tyrants attempt to gain the approval of common citizens in ancient Greece?
Which Roman emperor was responsible for a major shift in the dominate religious attitude of the Roman Empire?