No products in the cart.

Write the coding in Java to …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write the coding in Java to find greatest of two numbers
  • 1 answers

Mordhwaj Singh Chandrawat 5 years, 11 months ago

Int a,b; a=integer.parseint(jtextfeild1.gettext()); b=integer.parseint(jtextfeild2.gettext()); If( a>b) { Jtextfeild3.settext(""no.1 is greater); } else { Jtextfeild3.settext(""no.2 is greater); }
http://mycbseguide.com/examin8/

Related Questions

Case study questions of chapter 1
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App