ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

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

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 May 2017 My Price 7.00

CSC 106Week 6

Please see attached file. This will need to be done in Raptor.

 

CSC 106Week 6: ActviTyWeek 6 ActviTy: RapTor ArraysDue date: Midnight October 4 (Sunday)ParT 1:RapTor ArraysHere is a very shorT inTroducton To arrays using RAP±OR (also included in The ActviTy folder):h²p://web.cerriTos.edu/jwilson/SiTePages/cis_103/presenTatons/Arrays%20in%20RAP±OR.pdfHere is a more comprehensive explanaton of RAP±OR arrays (also included in The ActviTy folder):h²p://www.google.com/url?sa=T&rcT=j&q=&esrc=s&source=web&cd=1&ved=0CB0QFjAAahUKEwj±z9PHmZbIAhVDmoAKHXqDAcM&url=h²p%3A%2F%2FrapTor.martncarlisle.com%2FG-Arrays.doc&usg=AFQjCNF7pEwSqNgcJfm9yS0RN±s³yTIuw&bvm=bv.103388427,d.eXYIn This handouT, focus on The sectons and examples discussing one-dimensional arrays. We will cover mult-dimensional arrays in ChapTer 8. ±he secton “Processing Array Variables Using Loops” has several good examples ofprocessing arrays including: assigning values To an array variable, reading values inTo an array, writng array variablevalues ouT, ToTaling and computng The average of The values in an array, ³nding The largesT value of all The values inan array, and ³nding The index of The largesT value in an array.A´er reading The above documenTaton, view The You±ube video RAP±OR21 – InTroducton To Arrays by BradYourTh:h²ps://www.youTube.com/waTch?v=kaSY1a±2zqwNexT, view The You±ube video RAP±OR22 – Arrays2 by Brad YourTh:h²ps://www.youTube.com/waTch?v=IRZumD0jQAE±he mosT imporTanT Things To noTe abouT RAP±OR arrays is ThaT They can be creaTed dynamically. In oTher words,There is no formal declaraton sTaTemenT – you jusT sTarT using Them. Also, RAP±OR array indexing sTarTs aT 1 insTeadof 0. ±he ³rsT elemenT in The array is aT subscripT [1] insTead of [0].ParT 2:Displaying an array’s values in reverse orderDesign a RapTor program ThaT uses an array To sTore 5 values enTered by The user and Then displays The numbers inreverse order. Use Two loops: one for reading The user enTered values inTo The array; and anoTher for displaying TheconTenTs of The array in reverse order. HinT: The second loop will use a counTer ThaT sTarTs aT The size (lengTh) of Thearray, and is Then decremenTed by 1 each pass of The loop (for example: counTer = counTer – 1).Example ouTpuT:Enter a number: 34Enter a number: 12Enter a number: 8Enter a number: 56Enter a number: 2525561

Attachments:

Answers

(11)
Status NEW Posted 29 May 2017 06:05 AM My Price 7.00

-----------

Not Rated(0)