Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
a question about "for loop" and "range" function.
for
loop
range
sum
1 Vote
4 Answers
27th May 2017, 11:41 PM
Bluebear
How do I input random numbers in array and then get their sum ?
arrays
javascript
sum
0 Votes
4 Answers
27th May 2017, 9:17 PM
Manik Tafralian
Why my program is not working? The link:https://code.sololearn.com/cqkS7a3B3Fzj/?ref=app
java
sum
0 Votes
6 Answers
27th May 2017, 1:47 PM
Prajwal Agarwal
Getting problem to print the sum of two variables , x=2 and y=4
java
operators
1 Vote
2 Answers
24th May 2017, 6:00 AM
anshuman gupta
Sum of numbers in prime indexes using c#
array
loops
0 Votes
6 Answers
22nd May 2017, 11:40 AM
ranisanthoshi mattapalli
Program to find sum of n number using constructor.
c++
2 Votes
9 Answers
19th May 2017, 3:51 AM
Yysh Ag
Sum of prime index values in array in c#
arrays
Using
-1 Vote
1 Answer
17th May 2017, 11:48 AM
ranisanthoshi mattapalli
C++ code to display contents of array . and find the maximun, minimum, sum and averagr , using two nested for statement.
c++
0 Votes
2 Answers
12th May 2017, 1:35 PM
shad oow
Fill in the blanks to calculate the sum of all elements in the array "arr" using an enhanced for loop
java
-2 Votes
2 Answers
10th May 2017, 10:36 AM
Nurul Ain
Can anyone help me a program that calculate sum of n^10 from 2 to 10
c++
loops
2 Votes
2 Answers
8th May 2017, 11:39 PM
Joe Justin
Fill in the blanks to calculate the sum of all elements in the array "arr" using an enhanced for loop:
java
6 Votes
10 Answers
8th May 2017, 2:46 PM
Jose Lopez
Pass two int as a parameter. And return the sum of numbers
java
0 Votes
1 Answer
4th May 2017, 5:22 AM
Mohan
Make a one line Python statement that uses both sum and range to print the sum of the numbers 1 through 10
python,
range
0 Votes
4 Answers
3rd May 2017, 9:03 PM
Tosin
Need help creating a C++ program generating prime numbers.
c++
primenumbers
program
range
sum
0 Votes
5 Answers
2nd May 2017, 5:23 AM
Naveed
#include<iostream> using namespace std; int main() { int a=10,b=20,sum=a+b; a=5; cout<<"The sum is\n"<< sum << endl;
c++
variables
9 Votes
8 Answers
1st May 2017, 12:59 AM
MUʜAMMED ɪʟʟYAS
how to code this . sum of hashmap map.put("A",3); map.put("B",2); map.put("C",3); map.put("D",2); Enter : A Enter: B total : 5
java
0 Votes
2 Answers
30th Apr 2017, 12:36 AM
Ken Ben
How to sum hashmap like in my first comment
how
java
sum
to
0 Votes
2 Answers
29th Apr 2017, 12:51 PM
Ken Ben
How to sum values in java map
java
0 Votes
2 Answers
29th Apr 2017, 12:24 PM
Ken Ben
Using the do-while loop sum all the multiples of 5 between 0 to 100
c++
-1 Vote
4 Answers
25th Apr 2017, 9:32 AM
jesse
Sum up even numbers using do while loop
c++
-4 Votes
2 Answers
25th Apr 2017, 9:05 AM
jesse
Sum even numbers from 10-100
c++
-1 Vote
3 Answers
25th Apr 2017, 8:59 AM
jesse
all numbers from 1 - 100
range
sum
1 Vote
5 Answers
24th Apr 2017, 9:13 PM
Fade Made
How can I write a ruby code that takes in an array of integers and return true if any three consecutive elements sum to 7
case
else
end
puts
when
1 Vote
1 Answer
11th Apr 2017, 7:56 PM
Safianu Mohammed
I need to understand a code for cumulative sum in 2D array in c++
nehal
0 Votes
5 Answers
9th Apr 2017, 1:35 PM
Nehal
How to compute the series?
java
program
series
sum
12 Votes
2 Answers
7th Apr 2017, 7:38 PM
Safiya Yunus
WoOw! First prgrm is calculatrice sum mul moi
advice
give
me
plss
-1 Vote
4 Answers
5th Apr 2017, 5:17 PM
EZAIER Yassine
Prblems pls
calcul
i
nmobre
sum
the
want
x+y
-2 Votes
4 Answers
5th Apr 2017, 2:28 PM
EZAIER Yassine
Sum of an array : What is a exact behavior of the sum of an array, if sum is not defined?
arrays
c++
default
sum
0 Votes
4 Answers
5th Apr 2017, 5:22 AM
The413th
Using for loop, how to write a condition to display the sum of "any ten numbers" entered by the user.
c++
0 Votes
1 Answer
4th Apr 2017, 2:58 PM
Tehreem
pls give explanation {r=n%10; s=s+r; n=n/10} this program in sum of the digit
c
2 Votes
11 Answers
4th Apr 2017, 12:08 PM
Goudham Ram
Write a program using for loop that finds the sum of squares of the integers from 1 to n.
c++
0 Votes
1 Answer
3rd Apr 2017, 2:08 PM
Tehreem
To find the sum of both diagonal elements
c++
1 Vote
3 Answers
31st Mar 2017, 9:11 AM
vishal kalbande
Take 2-digit number from user and multiply that number with the sum of its digits.ex:if your number is 25 multiply it by 2+5=7
java
1 Vote
2 Answers
30th Mar 2017, 8:45 PM
Hafiz Tayyab Mushtaq
Find the sum of these following series.
c++
java
math
sololearn
1 Vote
4 Answers
30th Mar 2017, 8:34 AM
Hashis Bin Azeez
Double sum problem in output, C++, HELP
c++
console
double
input
output
4 Votes
2 Answers
27th Mar 2017, 6:40 AM
Elena
How to calculate the sum of the values of an array?
c#
2 Votes
3 Answers
25th Mar 2017, 7:19 PM
Luis Armando Colón
How to print sum of digits raise to the power of the position.
c++
2 Votes
2 Answers
24th Mar 2017, 1:24 PM
Prabha Kumari
C# Codegolf: Sum of 7s - Sum of 5s
c#
codegolf
5 Votes
2 Answers
24th Mar 2017, 3:16 AM
Jafca
Write a code to get two positive values from user and multiply them just by sum and sub!!!
challenge
3 Votes
7 Answers
23rd Mar 2017, 9:37 PM
TahaNM
How in c# in for loop sum the value to the new value after repeat for one value
c#
loops
0 Votes
1 Answer
23rd Mar 2017, 9:00 AM
Mohamad Hassan
int [ ] myArr = {6, 42, 3, 7}; int sum=0; for(int x=0; x<myArr.length; x++) { sum += myArr[x]; } System.out.println(sum)
arrays
java
0 Votes
3 Answers
20th Mar 2017, 4:39 AM
naveen roshan
Python: Write a recursive function to compute the sum of numbers from 1 to n. Provide the code that you used.
help
0 Votes
5 Answers
19th Mar 2017, 7:50 AM
Peet Van Der Walt
Sum Game
c++
1 Vote
4 Answers
17th Mar 2017, 3:23 AM
VISHNU H NAIR
Sum of prime numbers upto 10
java
0 Votes
3 Answers
15th Mar 2017, 10:03 AM
Varun Singh
Can any tell me the logic to find sum of this series 1+1÷2+1÷3+1÷4......+n and to print this series 1,1,2,3,5,8,13 in c language
c
2 Votes
3 Answers
14th Mar 2017, 1:26 PM
Stylish Kuri
Wap a program to find sum of 10 numbers
c++
2 Votes
5 Answers
13th Mar 2017, 3:53 PM
leon dsouza
In c++ sum of first 20 odd numbers what is codding
gg
0 Votes
2 Answers
11th Mar 2017, 8:15 AM
pooja patl
Sum of integers of an array using Recursion method ??
arrays
elements
java
program
recursion
sum
0 Votes
4 Answers
6th Mar 2017, 9:49 PM
Fake Mask
A(n×n) array.Program to find sum of all elements which lie on either diagonal.
java
0 Votes
2 Answers
4th Mar 2017, 2:30 PM
Shah faisal khan
Please how can i code some integers e.g [47,1900,1,90,45] to return a sum of two digits
def
1 Vote
5 Answers
4th Mar 2017, 2:17 PM
Marion Rain
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
20
21
22
...
24
Next >
Hot today
Javascript
3 Votes
I Had Solve My Own Way But I See Others Method which I had added as Comented code I don't Understand Working Can You explain me?
2 Votes
What i do?in html intermediate level i dont like.
2 Votes
How to get mentor in solo learn.any mentor who response my activity🥹
1 Votes
Why text takes time to load
1 Votes
What is late happening in late binding
1 Votes
Digital currency
1 Votes
Did You resolve Calculating The Discount?
0 Votes
I had an issue, I have PRO version, but not unlimited lives.
1 Votes
Why my code closes when i choose a border and submit?
0 Votes