Method to get an answer

  1. Needs to be sent:
    1. first operand
    2. second operand
    3. operator
    4. a Scanner
  2. Display the question
  3. Get the answer from the user (as an integer)
  4. return that integer


This topic: CenterForComputing > WebHome > Syllabi > CSC121SylS2023 > CSC121S2023Lab07 > CSC121S2023Lab7H3
Topic revision: r1 - 2023-02-10 - cathybareiss
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback