APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 364 Weeks Ago, 5 Days Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Computer Science Posted 18 Jul 2017 My Price 12.00

Insert a Comment box

Insert a Comment box, and type comment lines for the Author, Date, and Description.

Declare variables for the daily number of bugs, an accumulator variable to keep track of the total number of bugs collected, and a loop counter (suggestion: name this variable   counter) to count the number of loop iterations. These can all be Integer variables.

Assign an initial value of 0 to your accumulator variable, and an initial value of 1 to your counter variable.

Create a While loop that iterates when counter <= 7.

Inside the loop, prompt the user for the number of bugs collected that day. Use the counter as the day number in the prompt, like, “Enter the number of bugs collected for day ” & counter. Store the input value in the variable for the daily number of bugs. Next, add that value to the accumulator variable. Finally, add 1 to the counter.

When your loop exits, display the total number of bugs collected, with text. A sample output line might look like this: Total number of bugs collected: 239

Save your file as S05.fprg.

Answers

Not Rated (0)
Status NEW Posted 18 Jul 2017 05:07 PM My Price 12.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- ----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m -----------on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)