Results 1 to 3 of 3

Thread: ArrayExercise

  1. #1
    faithjupia is offline Member
    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Default ArrayExercise

    Write a program that declares an array named “scores” of type String. Initialize the array with the following elements: 80 75 90 100 70 95 85 60 65 90 70 50 100 80 60 85; display grades with four array elements per line. (Note: use one looping statement only)

    Sample Run:
    80 75 90 100
    70 95 85 60
    65 90 70 50
    100 80 60 85

    Grades between 90-100 => 5
    Grades between 80-89 => 4
    Grades below 80 => 7


    please help . . .thanks
    Last edited by faithjupia; 11-22-2012 at 03:05 AM.

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    5

    Default Re: ArrayExercise

    Do you have a question?

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: ArrayExercise

    Are you allowed to seek help on a forum for a graded exercise?
    Name

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •