Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
def main(): n = eval(input("How many numbers do you have? ")) sum = 0.0 for i in range(n): x = eval(input("Enter a number
python3
0 głosów
2 odpowiedzi
22nd Jan 2022, 6:42 AM
Umar Nurudeen Ojo
Write a program to input a number & find out whether the sum of the digits in the number is a prime number or not.
java
whileloop
2 głosów
4 odpowiedzi
1st Oct 2017, 9:51 AM
Aaron Stone
Write a C program using functions to calculate and display the sum of numbers from 1 to 5 and the product of numbers from 5 to
c
1 Głos
3 odpowiedzi
25th Feb 2022, 3:23 AM
Hoseok
Need help creating a C++ program generating prime numbers.
c++
primenumbers
program
range
sum
0 głosów
5 odpowiedzi
2nd May 2017, 5:23 AM
Naveed
Write the code to check if a triplet of key values with given sum exists in a BST.
bst
-1 Głos
1 Odpowiedź
26th Apr 2022, 4:45 AM
Alddd
How in c# in for loop sum the value to the new value after repeat for one value
c#
loops
0 głosów
1 Odpowiedź
23rd Mar 2017, 9:00 AM
Mohamad Hassan
I have to write program in C#. It should calculate the sum of two numbers provided by user in words and show it in numeric form.
c#
2 głosów
2 odpowiedzi
16th Oct 2018, 11:34 AM
Sevinch Fazlitdinovna
How do i break a 5 Digit Zipcode so i can later add each digit together and get the check sum digit.
c++
0 głosów
3 odpowiedzi
28th Feb 2018, 3:10 AM
Timew2
Can someone tell me if there is a problem with this code.It is supposed to take give the sum of consecutive numbers ?
python
0 głosów
1 Odpowiedź
16th Sep 2021, 12:14 AM
Richard
Write a JavaScript program to check two numbers and return true if one of the number is 100 or if the the sum of the two numbers
javascript
0 głosów
2 odpowiedzi
21st Dec 2019, 9:33 AM
Karthick Mathesh
wap to define a list namely data in which 5 numbers are to be inputted from user. Find the sum of odd and even numbers from the
lists
0 głosów
5 odpowiedzi
2nd Sep 2020, 2:26 PM
Devendra Virat
I made this program very earlier, my question is how can I print the sum of column below the matrix A without transposing it?
2d
array
c
matrix
sum
0 głosów
3 odpowiedzi
16th Apr 2018, 9:42 AM
ARIF ANSARI
c++
c++
code
cout
help
int
screen
sum
variables
1 Głos
3 odpowiedzi
24th Feb 2019, 4:59 AM
Amina Perazic
a program that takes the integer (n) as positive and prints the sum of prime numbers greater than 1 and less than n as output
python
0 głosów
2 odpowiedzi
26th Dec 2020, 12:16 PM
a.m
??How to write a C++ program that checks whether a number can be expressed as sum of two numbers ??
c++
problems
questions
solve
0 głosów
1 Odpowiedź
28th Jan 2019, 9:20 PM
GJohn
I'm using a formula to calculate the sum of a geometric list but no matter what I do it never gives me the right output.
numeric-operations
operation
order
python3
1 Głos
3 odpowiedzi
18th Dec 2018, 6:44 AM
albr3cht
Why the last number of the serie become a negative integer?
errors
fibonacci
impossible
negative
numbers
positive
sum
1 Głos
9 odpowiedzi
21st Apr 2018, 2:15 PM
Henrique Carrão
Take a input of any 3 digit number and find sum and product of its digit of the number use onblur event for the programme.
javascript
2 głosów
2 odpowiedzi
24th Jan 2018, 9:17 AM
Radha Bagadi
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23
python3
3 głosów
3 odpowiedzi
24th Dec 2017, 5:16 AM
Anshuman Bharadwaj
Write a Python program that takes an integer as input , prints result if m is a sum of a square and cube
python3
1 Głos
1 Odpowiedź
3rd Apr 2018, 2:16 PM
Gladson Dsouza
What is wrong with my code? Please help.
c
c++
comments
help
queries
sum
1 Głos
3 odpowiedzi
12th Aug 2018, 2:22 PM
rakesh rajak
Write a program using for loop that finds the sum of squares of the integers from 1 to n.
c++
0 głosów
1 Odpowiedź
3rd Apr 2017, 2:08 PM
Tehreem
Write a method to find the sum of all the elements of a particular column in the integer matrix
java
0 głosów
1 Odpowiedź
17th Nov 2016, 12:42 PM
沫雅公子
What is wrong in this code?//I wanted to make sum and difference of two numbers that the user inputs.
cpp
0 głosów
1 Odpowiedź
7th Dec 2017, 6:32 AM
David Gutiérrez López
Yo find the sum of any number of integers entered as comnand line argument , help of using array.
java
-4 głosów
3 odpowiedzi
4th Mar 2019, 1:28 PM
Rabi Sil
Write a program that takes an integer number n as input and find out the sum of the following series up to n terms. 1 + 12 + 123
c
1 Głos
4 odpowiedzi
16th Dec 2020, 12:28 PM
Tousif Riyad
In a program of sum of two input number in c . When i give only one input it assign automatically second no by 8.why?
c
1 Głos
2 odpowiedzi
5th Nov 2018, 12:03 PM
Roshan Kumar
A positive integer m is a sum of squares if it can be written as k + l where k > 0, l > 0 and both k and l are perfect squares.
python3
3 głosów
5 odpowiedzi
23rd Feb 2018, 4:25 PM
SUNIL PATIL
I tried writing code for this question in C “ Find the sum of all the multiples of 3 or 5 below 1000” but it’s wrong. Pl. help?
c
code
help
1 Głos
3 odpowiedzi
9th Sep 2020, 5:17 PM
Sowmya
i want a program to find the number of terms n and the sum of terms of the series 1+5+25+........+625
c++
loops
0 głosów
2 odpowiedzi
3rd Jan 2017, 10:25 AM
Noel Omorodje
cant get the answer ..when i run it just returns enter frst nmber enter second number and the sum is.....
c++
0 głosów
2 odpowiedzi
7th Jul 2016, 3:31 PM
Syed Aman
simple yet a slight twist..help here out?
basic
int
java
maths
string
sum
3 głosów
5 odpowiedzi
23rd Aug 2017, 4:23 PM
Shalmi
If you divide 365 by 1,2,3.....365, and then 366 by 1,2,3......366 what is the difference of the sum of the remainders of the 2
python
2 głosów
2 odpowiedzi
7th Feb 2018, 7:39 AM
Magorex
I need to give input twice to get output, where do i need to fix the code?I need to find the count and sum of given number 1 inp
c
0 głosów
5 odpowiedzi
3rd Jul 2021, 5:40 PM
Siyam
Input a list of numbers and test if a number is equal to the sum of the cubes of its digits (rest question in the description).
cube
largest
python3
smallest
1 Głos
2 odpowiedzi
22nd Sep 2020, 5:22 PM
Sonu Banerji
I have learn c in some different way and i try but my program is not execute.I have learn the program of the sum of two value
c
1 Głos
3 odpowiedzi
3rd Jan 2019, 11:13 AM
Raj Kiran Singh
How to create a program using for loop that takes 15 numbers from 10 to 30 and calculates their sum
c++
0 głosów
2 odpowiedzi
27th Nov 2016, 12:22 PM
Indrit Caca
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 głosów
2 odpowiedzi
30th Apr 2017, 12:36 AM
Ken Ben
Write a function Adder() that receives a pointer to an integer array as input, and uses this pointer to return the sum of eleme
c++
functions
pointers
0 głosów
2 odpowiedzi
4th Dec 2019, 4:13 PM
Naveed Ahmed
How can I get the sum of items in a list after removing even numbers by an iteration.Someone to help👋 Here is my code
python
0 głosów
2 odpowiedzi
23rd Feb 2021, 4:47 AM
Emmanuel Kipngeno cheruiyot
How can i add two Ascii numbers
add
ascii
c
numeric-operations
sum
0 głosów
2 odpowiedzi
8th Mar 2020, 3:02 PM
Tom Di Marco
Please explain me this Write a program to take marks of Maths,English and Science from the user calculate its sum and display it
python
-4 głosów
4 odpowiedzi
2nd Feb 2021, 7:22 AM
santosh sharma
How to master recursion in c/c++..
array
c
c++
recursion
sum
tips
1 Głos
3 odpowiedzi
20th May 2020, 4:05 PM
Nikhil Sharma
Can anyone tell me where i am wrong??
c
even
for
if
integer
sum
0 głosów
4 odpowiedzi
23rd May 2021, 7:57 PM
Learner
Q. Write a program to display sum of values between 5 and 20 except the all values which are divisible by 3 and 5 both.
anyone
me
tell
0 głosów
2 odpowiedzi
10th Sep 2019, 8:56 AM
Deepanshu Sharma
Why cannot I assign the value of the sum of the integer elements of an array(taken as a argument in a function) to a variable ?
c#
important
0 głosów
2 odpowiedzi
1st May 2020, 12:04 PM
Aritra pal
Consider the odd series 1, 3, 5, 7.... 97. Write a function to this series up the last term. Hence print the sum and average.
c++
0 głosów
2 odpowiedzi
27th Nov 2018, 8:49 AM
Akelemor Bright Cleverly
Hey guys, Can anyone of you give me atleast 20 different methods to find the sum of arrays in C
arrays
c
0 głosów
1 Odpowiedź
19th Oct 2017, 4:57 AM
Preetam Kalal
Using for loop, how to write a condition to display the sum of "any ten numbers" entered by the user.
c++
0 głosów
1 Odpowiedź
4th Apr 2017, 2:58 PM
Tehreem
How to assemble a column from an Access database
access-modifiers
accss
c#
data-types
help
progress
sololearn
sum
visibility
1 Głos
13 odpowiedzi
30th Jul 2021, 8:04 PM
سید محمد حسن ذاکری
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
...
21
22
23
24
Dalej >
Popularne dzisiaj
Countdown Test
1 Votes
diary
1 Votes
Could anyone fix this?
0 Votes
how do i create a code
0 Votes
web application with java, spring boot
1 Votes
Fitting
0 Votes
Pro but still no unlimited hearts and advertisements.
0 Votes
Leecode?
2 Votes
How to hack public wifi
0 Votes
Module quiz not opening
1 Votes