Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
can someone explain the x.length-1 in this program and why sum ends up to be 7? var x=[1,4,2,1]; var sum=0; for (i=0;i<x.length-1;i++){ sum+=x[i]; } document.write(sum)
javascript
1 Vote
2 Answers
16th Sep 2016, 1:23 PM
Mercurius
So the basic difference b/w c++ and java is that in c++ class is not necessary and ends with;, main func is outside the calss
c++
class
java
main
syntax
0 Votes
2 Answers
11th Apr 2018, 8:41 AM
Vaishali Tiwari
Do I have to specify position for my footer? It comes up in the page where my page content ends even halfway through the page
css
footer
html5
1 Vote
2 Answers
3rd Dec 2017, 3:29 PM
Usman URIB đłđŹ
He guys can someone tell me what that mean : you won't be charded until your entil trial ends . I can't finish my course bc oft
...
-1 Vote
2 Answers
29th Jan 2022, 7:58 AM
Ilham AZALAM
Write a program to print bus no brtween 10 to 19 .A bus no is eithervdivisible by 7 and ends with 7 .with java for loop .
java
-3 Votes
3 Answers
9th Jan 2019, 12:17 PM
nishant singh
Which software is used for creating front ends for Java applications ? Is an ide like netbeans alone is enough to create my own Java application ?
java
1 Vote
2 Answers
10th Oct 2016, 6:08 AM
Nantha kumar .R
Why when I run the build does the output screen not stay open? At the same time it ends with a message "ConsoleApp1.exe has exi
c#
methods
multiple
perameters
visualstudio
-1 Vote
2 Answers
5th Jul 2017, 11:30 PM
James Lanier
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
Next >
Hot today
Ejercicio Pytho
0 Votes
What's wrong with this code ? ( Beginner)
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Please rate my code from 1 to 10
2 Votes
Write a program to find the strings are in isogram or not
0 Votes
Square Roots
0 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes