Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a 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 Votes
3 Answers
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 Answers
15th Dec 2016, 4:18 PM
DHEERAJ
please exaplain this code
c
fibinocci
in
nth
number
recursion
using
0 Votes
1 Answer
1st Aug 2019, 7:11 AM
Sachin M
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 Votes
3 Answers
3rd May 2020, 2:40 PM
WILLIAM QUINN
why sometimes the circle is forever when i input very big number to long int as i choose long int to save
0 Votes
2 Answers
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 Votes
1 Answer
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 Votes
1 Answer
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 Answer
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 Answers
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 Answer
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 Answer
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 Answers
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 Answers
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 Answer
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 Answers
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 Votes
1 Answer
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 Votes
1 Answer
14th Jan 2018, 8:44 PM
nikolakis12123121s
Attention ! I need help. I cant understand the following program.
a
c
c_examples
loop
number
prime
using
while
1 Vote
1 Answer
22nd Jun 2020, 8:06 AM
Rakibur Rahman
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 Votes
2 Answers
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 Votes
2 Answers
12th Jul 2017, 3:18 AM
Joseph Nithish
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 Answers
26th Dec 2016, 6:56 AM
Cody Arthur
🔢 CHALLENGE: LYCHREL NUMBERS like 1⃣9⃣6⃣ (maybe)
c#
challenge
challenges
cpp
java
javascript
lychrel
number
python
ruby
4 Votes
4 Answers
28th Sep 2017, 10:13 PM
Andrea Simone Costa
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 Votes
2 Answers
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 Votes
2 Answers
22nd Sep 2019, 9:26 PM
Orapeleng Moses
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 Votes
1 Answer
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 Answers
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 Votes
3 Answers
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 Votes
2 Answers
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 Answer
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 Votes
1 Answer
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 Votes
1 Answer
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 Votes
1 Answer
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 Votes
3 Answers
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 Answers
14th Jul 2016, 4:34 AM
Rohit Ner
C++
c++
character
data
floating
integer
missing
number
point
types
variables
0 Votes
2 Answers
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 Votes
2 Answers
31st Aug 2020, 5:47 PM
parsa
What's the problem on line 25?
error
game
help
how
issue
number
problem
spy
why
0 Votes
2 Answers
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 Votes
3 Answers
21st Jan 2017, 5:10 PM
nsazw
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 Votes
2 Answers
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 Votes
2 Answers
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 Votes
1 Answer
11th Dec 2018, 10:54 AM
Arsen
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 Answers
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 Answers
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 Answer
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 Votes
1 Answer
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 Votes
2 Answers
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 Votes
2 Answers
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 Votes
1 Answer
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 Votes
1 Answer
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 Answer
8th Sep 2017, 7:58 AM
Pema Gyalpo
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
83
84
85
...
87
Next >
Hot today
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Why does coding take so long to learn
0 Votes
Solved Ai generated practice the last question
0 Votes
Hello Everyone
0 Votes
Solved# Survey data format in coding for data
0 Votes
How to add unordered lists in HTML.
0 Votes
What is the use of .kt classes in the React Native project
0 Votes
Solved #Relay race coding for unit 9 you are creating code for a relay race
0 Votes