Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Program to print the number of elements of an array whose size is not defined and also to print the sum of the array elements
array
c++
for-loop
size
undefined
0 Vote
3 Réponses
31st Jul 2017, 3:18 AM
Kalliath Abdul Rasheed Shamil
write SQL query for following To list all the columns of the table 'employee' in ascending order of department number and descending order of salary.
sql
1 Vote
2 Réponses
15th Dec 2016, 4:18 PM
DHEERAJ
Why does this loop not move past the 1st segment of the list? I want it to tell me how many times each number is in the list.
lists
while
0 Vote
3 Réponses
3rd May 2020, 2:40 PM
WILLIAM QUINN
please exaplain this code
c
fibinocci
in
nth
number
recursion
using
0 Vote
1 Réponse
1st Aug 2019, 7:11 AM
Sachin M
why sometimes the circle is forever when i input very big number to long int as i choose long int to save
0 Vote
2 Réponses
19th Sep 2017, 3:49 PM
learnlearnlearn
Input First line N (1<=N<=100). Then NxN table is given(all number are integers) Output The total sum of element that are locate
c++
cpp
help
problem
sololearn
sos
0 Vote
1 Réponse
3rd Oct 2020, 5:02 AM
Azat Malgazhdar
Heads up! 10 * '5' or '10' * '5' will give the same result. But trying to multiply a number with string values that aren’t numb
operators
0 Vote
1 Réponse
3rd Oct 2021, 7:15 AM
Simangolwa Lifwatila
In python what is long integer ex: 1234736277L. at the end L is placed what it means?? I heard it wont be treated as long number
in
integer
is
long
python
what
1 Vote
1 Réponse
27th Jun 2020, 3:38 PM
Sufia Hashmi
Doesn't the number satisfy both condition 1 and 3 (num > 3, Num ==7) then how does it only display 3?
if-statements
python
-2 Votes
3 Réponses
9th Jan 2017, 10:34 PM
John Sitther
2. Write a program which takes the lower limit and upper limit then find which of the number are prime number.
python
-1 Vote
1 Réponse
3rd Dec 2021, 6:49 PM
SAfiullaH KhoKhar
Write a program that takes a command-line argument n and prints the nth harmonic number. Harmonic Number is of the form
na
-1 Vote
1 Réponse
17th Feb 2022, 8:25 PM
Pravin
Write an algorithm a pseudocode and draw a flowchart to input a number and check whether it is even or odd.
c++
-2 Votes
2 Réponses
26th Mar 2017, 7:32 AM
Tehreem
Write a function countWords($str) that takes any string of characters and finds the number of times each word occurs. You shou
comments
php
-9 Votes
5 Réponses
7th May 2017, 12:25 PM
ndamulelo witness
please help me to write a c++ program to find the LCM of 2 integer positive number using function named 'Laghu'.
c++
functions
1 Vote
1 Réponse
12th Jan 2017, 11:44 AM
Anurag Nihal
Write an event driven JavaScript code to accept a number from user and display if it is even or odd number. *
html
-4 Votes
2 Réponses
6th Nov 2020, 7:20 AM
Pranav Rananaware
I need help with a function that loops the input turn to the number of lives. For the code below 👇
@kuba
python
0 Vote
1 Réponse
13th Feb 2017, 4:22 AM
Pride Mawire
Exercise requires you to implement a Python program that uses a function that takes an alphanumeric input as counting the number
python
0 Vote
1 Réponse
14th Jan 2018, 8:44 PM
nikolakis12123121s
if I want to print ten number by identifying whether it is odd or even by using for loop. how to do?
c++
loops
0 Vote
2 Réponses
30th Aug 2016, 7:52 AM
dharmesh
Getting error that my array might not be initialized. I'm trying contain all prime numbers within a given number into an array.
array
findprime
java
0 Vote
2 Réponses
12th Jul 2017, 3:18 AM
Joseph Nithish
Attention ! I need help. I cant understand the following program.
a
c
c_examples
loop
number
prime
using
while
1 Vote
1 Réponse
22nd Jun 2020, 8:06 AM
Rakibur Rahman
how do I ensure that a user does not input a number less than 1 or greater than 10 in this code. int a; cin>>a;
c++
1 Vote
2 Réponses
26th Dec 2016, 6:56 AM
Cody Arthur
Is it advisable for one to specialize in one programming language and be really good at it or one must know quite a number
html5
js
python
0 Vote
2 Réponses
5th Jan 2017, 4:16 AM
@Rokeow
How would you go about, Using a number from a textfile Adding it with the one from Your ( EditText) and displaying the results
android
0 Vote
2 Réponses
22nd Sep 2019, 9:26 PM
Orapeleng Moses
🔢 CHALLENGE: LYCHREL NUMBERS like 1⃣9⃣6⃣ (maybe)
c#
challenge
challenges
cpp
java
javascript
lychrel
number
python
ruby
4 Votes
4 Réponses
28th Sep 2017, 10:13 PM
Andrea Simone Costa
Create 5 workers concurrent print out numbers from 1 to 1000. Note: for the whole result each number only can display once only.
c#
0 Vote
1 Réponse
1st Apr 2020, 4:37 AM
Yen San
Write a program that reads in a set of positive integers and outputs how many times a particular number appears in the list.
java
-3 Votes
2 Réponses
5th Jul 2022, 11:55 PM
Aiza Oberes
When ever a user forgets to put a number in an input i want it to set the value for that input to zero to prevent the NaN
change
counter
dime
html
javascript
money
nickle
pennie
quarter
0 Vote
3 Réponses
23rd Feb 2018, 7:40 AM
Brennan Woodroof
Can any one convert c++ logic code to python logic code
c++
forloop
functions
logic
loops
number
python
strings
0 Vote
2 Réponses
22nd Nov 2022, 4:45 AM
$@G@®️
For loops are only used to check if the number is even or not? Where as while loops are used to check conditions if it's true?
c++
forloop
loop
while
-1 Vote
1 Réponse
25th Oct 2019, 7:45 AM
Dipanjan Basu
i want to get a number and find all of that's primefactor and multiple the next primefactors with each other.only with recursion
primefactors
python3
recursion
0 Vote
1 Réponse
27th Apr 2018, 3:49 PM
mohamadjavad
I want to store data's using array untill user input nomore the program must execute then calculate its sum from inputed number
<java>
0 Vote
1 Réponse
18th Mar 2020, 5:57 PM
Ayush Bajgai
A database has telephone number which may include spaces brackets, but if a user search only by giving numbers in sequence data?
mongodb
0 Vote
1 Réponse
23rd Jun 2020, 8:53 PM
shubham
How to make a java code that will ask user the number of times that user wants to print word "eggs"and then ask to do it again
java
0 Vote
3 Réponses
16th Dec 2016, 6:35 PM
Timo
why do we need to declare the function as virtual? is there any limit on number of derived members that can call the function if it's not virtual?
c++
polymorphism
2 Votes
2 Réponses
14th Jul 2016, 4:34 AM
Rohit Ner
C++
c++
character
data
floating
integer
missing
number
point
types
variables
0 Vote
2 Réponses
24th Feb 2019, 5:08 AM
Amina Perazic
How can i change background of a input with type of number when it's value is more than 100 or less than 1 . I want to use css.
css
html
0 Vote
2 Réponses
31st Aug 2020, 5:47 PM
parsa
Please can anyone provide me a c++ program to find number of digits in a given integer (using for loop c++ version 4.5)?
i
0 Vote
2 Réponses
11th Nov 2017, 11:03 AM
pundarikaksh narayan tripathi
Write a query in SQL that uses a random number generator to create a variable integer to determine the amount of rows selected.
query
rng
sql
variables
0 Vote
2 Réponses
27th Jan 2017, 6:11 PM
Andre van Rensburg
print all the numbers that do not exceed n the natural number and will give 1 balance when delivering each one on 2
a
help
i
need
0 Vote
1 Réponse
11th Dec 2018, 10:54 AM
Arsen
What's the problem on line 25?
error
game
help
how
issue
number
problem
spy
why
0 Vote
2 Réponses
12th Jul 2018, 5:34 AM
Raphael Shay
Guys please help me to make a code that terminate negetive numbers or give me some advice
how
negetive
number
program
terminate
to
write
0 Vote
3 Réponses
21st Jan 2017, 5:10 PM
nsazw
How do i creat a code in C++ that accepts integers from the user, stops when the user types a negative number or zero. Then adds
sai
1 Vote
2 Réponses
26th Nov 2017, 7:41 PM
Charles Konney
Hey my friends i want code like this : the student put his seet number into the search bar and click submit to show his results.
html5
mysql
php
website
1 Vote
2 Réponses
23rd Apr 2017, 4:49 PM
bakar
How do I ask for a number that I know at most going to be 8 intgers long, then seperate each integer into an array
arrays
help
int
2 Votes
1 Réponse
5th Nov 2017, 3:30 PM
William Rodriguez
Jack and Jill are trying to determine who has the greater number of marbles. Write a C program that helps them figure out who ha
c
0 Vote
1 Réponse
24th Nov 2023, 7:45 AM
Nikhil
Hey guys, i am new in programming, can anyone write me a function that returns the number of unique values in the linked list
java
0 Vote
2 Réponses
16th Mar 2018, 2:00 AM
Abdurakhmonjon Makhkamjonov
write c++ programme to read a string from the keyboard and count number of ovels and consonants in the string and display the results
c++
0 Vote
2 Réponses
9th Sep 2016, 4:41 PM
Prahlad Kumar
How ar sms verification systems made. Like when google sends u an sms real quick in any country but the sender's number is short
sms
0 Vote
1 Réponse
13th Jun 2020, 9:19 PM
Kisembo Allan
How can i add output that warn user when they input non-number? (Means error when user input other than number as alphabet)
gui
java
javascript
0 Vote
1 Réponse
5th Dec 2016, 5:23 AM
frhnims
Why we have less number of womens participating in programming at degree level and more than that? What measures can we take?
coding
developing
inventing
programming
1 Vote
1 Réponse
8th Sep 2017, 7:58 AM
Pema Gyalpo
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
83
84
85
...
87
Suivant >
Aujourd'hui en vedette
The hidden trap in python function
4 Votes
What is a web browser intension?
1 Votes
Percobaan
0 Votes
Mentors
0 Votes
Thread local : global vs local
0 Votes
Codding lern
0 Votes
What are these purple cubes good for?
0 Votes
Postgrrsql and python
0 Votes