Click here to Skip to main content
15,881,455 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
JokeRe: english question Pin
Nelek13-Mar-20 5:36
protectorNelek13-Mar-20 5:36 
GeneralRe: english question Pin
Member 1477234013-Mar-20 11:41
Member 1477234013-Mar-20 11:41 
GeneralRe: english question Pin
Nelek13-Mar-20 15:11
protectorNelek13-Mar-20 15:11 
GeneralRe: english question Pin
maze316-Mar-20 0:29
professionalmaze316-Mar-20 0:29 
GeneralRe: english question Pin
Nelek16-Mar-20 8:56
protectorNelek16-Mar-20 8:56 
GeneralRe: english question Pin
kalberts16-Mar-20 11:36
kalberts16-Mar-20 11:36 
GeneralRe: english question Pin
Nelek16-Mar-20 11:41
protectorNelek16-Mar-20 11:41 
GeneralRe: english question Pin
maze316-Mar-20 0:24
professionalmaze316-Mar-20 0:24 
When broken down, this is a good intro to programming questions.

Nelek wrote:
in an array

This indicates that an array is being used.
Most arrays are zero based.
Quote:
Display every 10th number

To get your mind around this concept might be similar to that the length of an array can be 10, but the last position in the array is 9.

And as others pointed out. a[0] should not be expected in the output. Unless modulo was part of the previous discussions, and the person that wrote the question assumed and mixed up "a%10 == 0" being a possible solution, should be corrected.
GeneralRe: english question Pin
Nelek16-Mar-20 8:58
protectorNelek16-Mar-20 8:58 
GeneralRe: english question Pin
kalberts16-Mar-20 12:09
kalberts16-Mar-20 12:09 
GeneralThought of the Day Pin
OriginalGriff12-Mar-20 5:42
mveOriginalGriff12-Mar-20 5:42 
GeneralRe: Thought of the Day Pin
W Balboos, GHB12-Mar-20 5:47
W Balboos, GHB12-Mar-20 5:47 
QuestionRe: Thought of the Day Pin
lopatir12-Mar-20 6:28
lopatir12-Mar-20 6:28 
AnswerRe: Thought of the Day Pin
OriginalGriff12-Mar-20 6:43
mveOriginalGriff12-Mar-20 6:43 
GeneralRe: Thought of the Day Pin
lopatir12-Mar-20 6:54
lopatir12-Mar-20 6:54 
GeneralRe: Thought of the Day Pin
OriginalGriff12-Mar-20 7:01
mveOriginalGriff12-Mar-20 7:01 
GeneralAnd now, the chefs are going as well. Pin
OriginalGriff12-Mar-20 5:40
mveOriginalGriff12-Mar-20 5:40 
GeneralRe: And now, the chefs are going as well. Pin
W Balboos, GHB12-Mar-20 5:49
W Balboos, GHB12-Mar-20 5:49 
GeneralRe: And now, the chefs are going as well. Pin
dandy7212-Mar-20 5:51
dandy7212-Mar-20 5:51 
GeneralRe: And now, the chefs are going as well. Pin
lopatir12-Mar-20 6:24
lopatir12-Mar-20 6:24 
GeneralRe: And now, the chefs are going as well. Pin
OriginalGriff12-Mar-20 6:26
mveOriginalGriff12-Mar-20 6:26 
GeneralRe: And now, the chefs are going as well. Pin
Richard MacCutchan12-Mar-20 6:09
mveRichard MacCutchan12-Mar-20 6:09 
GeneralRe: And now, the chefs are going as well. Pin
OriginalGriff12-Mar-20 6:18
mveOriginalGriff12-Mar-20 6:18 
GeneralRe: And now, the chefs are going as well. Pin
OriginalGriff12-Mar-20 6:29
mveOriginalGriff12-Mar-20 6:29 
GeneralRe: And now, the chefs are going as well. Pin
Richard MacCutchan12-Mar-20 6:56
mveRichard MacCutchan12-Mar-20 6:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.