# Can anyone briefy explain what does that mean?

• 01-29-2008, 06:22 AM
Clemenza1983
Can anyone briefy explain what does that mean?
Can anyone please explain the theory behind these
• 01-29-2008, 06:24 AM
Clemenza1983
keyboard integers is the 0 to 9 how to set subscript ?
i only need help with the first part first coz i have no idea how to get a head start on this please any kind soul enlighten me.
• 01-29-2008, 07:25 AM
gibsonrocker800
It's basically asking you to create a program which the user can enter numbers and you can perform various tests to it (ex: which numbers are even, which numbers are multiples of 3, etc);

So, you've gotta learn about the following:
loops
Scanners
arrays
Object-Oriented ness (this isn't necessary, but o-o programming makes everything easier)
• 01-29-2008, 07:34 AM
Clemenza1983
hmm i am trying to do it now but it seems like i do not understand or should i say how to start i know what is an array and subscript should i do a table as the following

subscript [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
Array KB [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]

as there are only 0 to 9 integer on the keyboard
so if:

kb integers[I]

initialize kb array[1..10] to zeroes?
FOR I in range of 1 to 10
???

i need someone to guide me haiz...
• 01-29-2008, 07:39 AM
gibsonrocker800
Maybe i'm totally missing the point, but i have no idea where you're getting this subscript stuff from. It seems to me that you're supposed to make a program that asks the users for numbers and then it finds data based on these numbers.
• 01-29-2008, 07:47 AM
Clemenza1983
Ok for eg.

ARRAYS:
========

DEFINE 5 INDIVIDUAL VARIABLES AS MARK1, MARK2, MARK3, MARK4, MARK5

USE ARRAYS TO DEFINE THE ABOVE GIVEN VARIABLES

EXAMPLE:
=========

MARK[I], I IN RANGE OF 1 TO 5, I IS THE INDEX VALUE OR SUBSCRIPT, MARK IS A SUBSCRIPTED VARIABLE

MARK[1] = 75
MARK[2] = 80
MARK[3] = 68
MARK[4]= 98
MARK[5]=89

PSEUDOCODE EXAMPLE:
====================

(1.) INITIALIZE MARKS[1..5] TO 0;
(2.) FOR I IN RANGE OF 1 TO 5
DO