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: 347 Weeks Ago, 3 Days 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 06 May 2017 My Price 6.00

Write a method called diceSum that accepts a Scanner

Write a method called diceSum that accepts a Scanner for the console as a parameter and prompts for a desired sum, then repeatedly simulates the rolling of 2 six-sided dice until their sum is the desired sum. Here is a sample dialogue with the user:

Answers

(8)
Status NEW Posted 06 May 2017 03:05 PM My Price 6.00

-----------

Attachments

file 1494082938-Answer.docx preview (105 words )
W-----------rit-----------e a----------- me-----------tho-----------d c-----------all-----------ed -----------dic-----------eSu-----------m t-----------hat----------- ac-----------cep-----------ts -----------a S-----------can-----------ner----------- fo-----------r t-----------he -----------con-----------sol-----------e a-----------s a----------- pa-----------ram-----------ete-----------r a-----------nd -----------pro-----------mpt-----------s f-----------or -----------a d-----------esi-----------red----------- su-----------m, -----------the-----------n r-----------epe-----------ate-----------dly----------- si-----------mul-----------ate-----------s t-----------he -----------rol-----------lin-----------g o-----------f 2----------- si-----------x-s-----------ide-----------d d-----------ice----------- un-----------til----------- th-----------eir----------- su-----------m i-----------s t-----------he -----------des-----------ire-----------d s-----------um.----------- He-----------re -----------is -----------a s-----------amp-----------le -----------dia-----------log-----------ue -----------wit-----------h t-----------he -----------use-----------r: ----------- -----------Ans-----------wer----------- i-----------mpo-----------rt -----------jav-----------a.u-----------til-----------.Ra-----------ndo-----------m; ----------- im-----------por-----------t j-----------ava-----------.ut-----------il.-----------Sca-----------nne-----------r; ----------- pu-----------bli-----------c c-----------las-----------s T-----------ran-----------s13-----------0 {----------- p-----------riv-----------ate----------- st-----------ati-----------c v-----------oid----------- di-----------ceS-----------um(-----------Sca-----------nne-----------r s-----------can-----------ner-----------) -----------{ -----------Ran-----------dom----------- ra-----------nd -----------= n-----------ew -----------Ran-----------dom-----------();----------- ----------- in-----------t s-----------um -----------= 0-----------;
Not Rated(0)