Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 1 Day Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 23 Jun 2017 My Price 5.00

Write a code that by given name prints on the console "Hello, !" (for example: "Hello, Peter!").

1. Write a code that by given name prints on the console "Hello, !" (for example: "Hello, Peter!").

2. Create a method GetMax() with two integer (int) parameters, that returns maximal of the two numbers. Write a program that reads three numbers from the console and prints the biggest of them. Use the GetMax() method you just created. Write a test program that validates that the methods works correctly.

 

Answers

(8)
Status NEW Posted 23 Jun 2017 04:06 PM My Price 5.00

-----------

Attachments

file 1498234758-Answer.docx preview (61 words )
i-----------mpo-----------rt -----------jav-----------a.u-----------til-----------.Sc-----------ann-----------er;----------- p-----------ubl-----------ic -----------cla-----------ss -----------Tra-----------ns1-----------61 ----------- { ----------- pu-----------bli-----------c s-----------tat-----------ic -----------voi-----------d m-----------ain-----------(St-----------rin-----------g[]----------- ar-----------gs)----------- {----------- S-----------can-----------ner----------- sc-----------an -----------= n-----------ew -----------Sca-----------nne-----------r(S-----------yst-----------em.-----------in)-----------; -----------Sys-----------tem-----------.ou-----------t.p-----------rin-----------tln-----------(&q-----------uot-----------;En-----------ter----------- na-----------me&-----------quo-----------t;)-----------; -----------Str-----------ing----------- na-----------me -----------= s-----------can-----------.ne-----------xtL-----------ine-----------();----------- ----------- -----------Sys-----------tem-----------.ou-----------t.p-----------rin-----------tln-----------(&q-----------uot-----------;He-----------llo-----------, &-----------quo-----------t;+-----------nam-----------e+&-----------quo-----------t;!-----------&qu-----------ot;-----------); ----------- } ----------- } ----------- im-----------por-----------t j-----------ava-----------.ut-----------il.-----------Sca-----------nne-----------r; ----------- pu-----------bli-----------c c-----------las-----------s T-----------ran-----------s16-----------2 -----------{ ----------- p-----------ubl-----------ic -----------sta-----------tic----------- in-----------t g-----------etM-----------ax(-----------int----------- nu-----------m1,----------- in-----------t n-----------um2-----------) -----------{ -----------ret-----------urn----------- (n-----------um1----------- &a-----------mp;-----------gt;----------- nu-----------m2 -----------? n-----------um1----------- : -----------num-----------2);-----------
Not Rated(0)