Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Can we make code so switch can check two values in cases? Example in code. They are higlighted in comments (Sorry for my eng)
c#
1 Vote
6 Answers
15th Jul 2019, 6:02 PM
Lily
Write a function for evaluating the area of rectangle having sides a and b. Both sides and area should be taken in float values
c++
float
1 Vote
10 Answers
26th Jan 2018, 12:19 PM
Prakhar Jain
Write a program to swap values of two number by using function call by reference
c
0 Votes
2 Answers
20th Feb 2017, 12:25 PM
ankit pariyar
In C we have pointers to return multiple values from a function but how to do it in java??
in
java
pointer
-1 Vote
4 Answers
23rd Jun 2017, 11:50 PM
Santosh Kondepudi
Method that takes a Boolean array and returns true if the longest run of true values is greater than consecutive false values.
arrays
for
java
loops
methods
nested
return
while
2 Votes
6 Answers
28th Nov 2017, 8:41 PM
Danat Gorth
Помогите отсортировать по возрастанию значения разности множеств. Help sort the values of the difference of the sets in ascendin
help#python
1 Vote
1 Answer
8th Oct 2022, 8:59 AM
Murrr
The question is to print all the Pythagorean triplet from a accepted range.I am getting repetitive values ex:3,4 and 4,3.
python
0 Votes
4 Answers
2nd Oct 2018, 4:45 PM
Mara
is there a way I can store all the values of x in this short code without having to display them using cout? int main() { for (int x=0; x<5; x++){ //how do i store the all the values of x without having to display them?// }
c++
3 Votes
5 Answers
24th Dec 2016, 4:22 PM
Cody Arthur
This problem is asking for minimum and maximum values that can be calculated by summing exactly four of the five integers.
algorithm
c#
problemsolving
1 Vote
3 Answers
13th Dec 2020, 10:01 PM
Esraa Hesham
How can I store ArrayList in an HashMap and add values to that ArrayList dynamically
hashmap
java
0 Votes
2 Answers
17th Jun 2016, 7:02 AM
K R Hitesh
How to show same username of each row all the values from table in php?
mysql
php
0 Votes
2 Answers
22nd Apr 2017, 3:45 PM
Bhavisha Pipaliya
What are the other values that can be given to "Target" attribute in link tag ( <a> )??
html
links
2 Votes
2 Answers
20th Jul 2017, 4:02 PM
TRN
What is the difference between *not defined* and *Undefined* in JavaScript??
javascript
undefined
value-types
values
1 Vote
1 Answer
22nd Mar 2019, 5:26 AM
Abdul Rasul
Can someone help me find why my code shows my losing output even when the correct values are entered (2,3,4)?
c++
help
2 Votes
2 Answers
25th Jun 2019, 3:40 AM
SethStain
What code can you use to sort a array for two highest values In an array?
array
collection
group
puzzle
ruby
simple
sorting
-1 Vote
2 Answers
15th Sep 2018, 8:17 PM
Damian Wayne
can anyone tell me how to send some values to othet method...pls help me..i need in my project...
java
methods
1 Vote
3 Answers
30th Nov 2017, 11:28 AM
Sauvik Saha
Write a program that enable users to enter 10 values into arrays.It should also display the largest and the smallest value .
arrays
-1 Vote
6 Answers
8th Dec 2018, 11:47 PM
JOSEPHINE AKONOBEA BEKOE
Can we put float or non-integral values while inputting it from user side and convert the final output of the two no.s??
type-conversion
0 Votes
6 Answers
24th Jul 2019, 1:59 PM
Vyoma Patel
Fill in the blanks to print EVEN (multiples of 2) values from 0 to 20 using a for loop:
c++
loops
-1 Vote
3 Answers
10th Dec 2020, 4:22 AM
Walaa Alajamy
How do we use array to get 5 values from the user and find their percentage in javascript
css
html
javascript
web
2 Votes
2 Answers
31st Oct 2017, 8:19 PM
Didace Nsabimana
How to create an array in which the number of elements is not indicated and add values to it?
array
0 Votes
3 Answers
1st Aug 2019, 2:27 PM
Михаил Попов
What are the values of the variables s and x after running this piece of code?
ado
-1 Vote
2 Answers
18th Mar 2021, 5:56 PM
Charityn
How do I populate values in my table I created for time? Quarter , Month, Year
mysql
sql
0 Votes
1 Answer
2nd Aug 2022, 5:47 PM
Knowledge Is Power
How can I extract values from varchar in SQL ? Ex 'San Jose, St Street, NY, 97'
mssql
sql
sqlserver
0 Votes
1 Answer
15th Aug 2020, 12:49 PM
Vivek Jadhav
I have a problem with sizeof(*ptr)=4, when execute this code.but,I have included 3 assign values to that pointer.Explain this!!
c
management
memory
0 Votes
3 Answers
16th Jun 2020, 7:27 AM
Narayanasamy Lorshan
(c#)how to create random double values in the range of 0 to 100 of required number using do while loop
sololearn
0 Votes
4 Answers
27th Oct 2020, 3:29 PM
ramandeep kaur
How to insert date values in the table without using "to_char" and "to_date" keyword ?
mysql
sql
0 Votes
1 Answer
23rd Jul 2017, 7:48 PM
Shrikant Narvekar
After i return all the values in inputstream,what would inputstream be?empty or something like null?
java
0 Votes
1 Answer
1st Nov 2017, 3:04 PM
YuHai
Creating a variable reserves a memory location, or a space in memory for storing values. What is meant by values
c++
variables
0 Votes
5 Answers
31st Mar 2017, 6:11 PM
Ishan Barnwal
I'm trying to make a function for the extended euclidean algorithm, but the values of x and y never change
c++
euclid
functions
recursion
1 Vote
4 Answers
9th Jun 2017, 6:15 AM
Catalin Dervesteanu
Console.writeline("x={0};y={1}",x,y); when we change the values of from 0 to 1 and 1 to 2 it gives errors.
output
0 Votes
2 Answers
29th Apr 2018, 5:24 AM
Devashish Shukla
In C++, why is it possible to index values out of an array, and what is the value returned?
arrays
c++
outofbounds
1 Vote
2 Answers
29th Jan 2019, 8:16 AM
Mixia
Write a program that prompts the user to enter 4 non-negative integer values and returns the largest of the four.
c#functions
noframe
1 Vote
2 Answers
7th Dec 2022, 7:01 PM
Mary Njeri
According to book the code give output like local =10. Global =20 ,Global+Local=30.but in this it give different values ??
c++
scope-resolution
0 Votes
3 Answers
4th Jan 2020, 6:20 AM
THE CRAZY ONE ✌️
If browser refreshed, created, and saved values will exist in the session? or data going to lost?
php
session
0 Votes
2 Answers
18th Jun 2020, 7:33 PM
Tharindu Rangika
Any other good ways to do it ?So at first I was doing it without .islpha and it was giving me wrong values so any other method?
python
1 Vote
7 Answers
30th Sep 2021, 2:39 PM
Asphalt
How to go about using a calculation void function to place the values in an array?
cpp
0 Votes
2 Answers
25th Jan 2017, 9:25 PM
Progress101
How to get maxValue, minValue, sum of all arrays values and finally the averageValue of the array's numbers also?
arrays
java
0 Votes
4 Answers
24th Dec 2016, 3:08 PM
Abanoub Salip
In c While writing float values sometimes i have to take %3.2f or sometimes %.3f or sometimes %.2f or sometimes only %f why ???
c
programing
1 Vote
4 Answers
9th Nov 2018, 1:56 PM
Lata Mishra
I am facing difficulties in intilizing the values in code coach problems in java .How do i can overcome on this
code
coding
java
1 Vote
3 Answers
31st Jan 2020, 6:16 AM
Shivam Kumar Singh
I'm unable to embed Audio, Video and YouTube video in a web page. The thing is how to choose a source attribute values properly?
audio
video
youtube
1 Vote
4 Answers
30th Jul 2020, 6:02 PM
Nangunuri Rachana
Is there a way to execute a Range of values for each case when using a switch statement?
php
range
switch
0 Votes
2 Answers
10th May 2019, 2:08 PM
Samuel Kinuthia
Please fellas, i don't quite understand how and where to use position values especially absolute ,relative,i need help please
css
positioning
1 Vote
3 Answers
14th Oct 2017, 9:54 AM
ANAGA IFEANYI EMMANUEL
How does one get maximum and minimum values and the average value between a set of numbers in C
c
1 Vote
3 Answers
16th Feb 2017, 7:01 PM
Daniel Kiuri Kimaru
SQL Inserting values to an existing record if they are meeting some criteria, or updating a value to maintain an average
average
field
insert
sql
1 Vote
3 Answers
8th Oct 2019, 5:46 AM
Nathan Stanley
There is a problem with my code.I want calculate BMI values and store in a array. Can anyone help me with this please?
c++
1 Vote
4 Answers
18th Jun 2021, 3:37 AM
J Jenshika
If i have lots of values and must use the switch statement,how can i write it?
java
0 Votes
2 Answers
20th Oct 2017, 4:57 PM
YuHai
why does accumulate increments value in defined manner(adding the previous list values only with natural numbers)?
itertools
python
0 Votes
2 Answers
1st Sep 2016, 6:10 AM
Prasanth Ravichandran
I always read about returning values and it explains that the return keyword returns a value, but what does that even mean?
c#
c++
java
1 Vote
5 Answers
5th Jan 2017, 12:03 PM
Lily Awertnex
A Python statement to declare a Dictionary named ClassRoll with Keys as 1, 2, 3 and corresponding values as 'Reena', 'Rak
python
-3 Votes
3 Answers
5th Oct 2020, 4:49 AM
Arpan Pradhan
Ask a question
Ask a question
< Previous
1
...
19
20
21
...
24
Next >
Hot today
MY SNAKE GAME CODE ISN'T working of python
4 Votes
Java question Can anyone help me with the test case situation in that problem like 3 test case is pass but other are not 🤦🤦
4 Votes
How to improve code readability
0 Votes
Functions
1 Votes
App
0 Votes
I NEED to make a game
0 Votes
Please help with the output
0 Votes
Grouping data is not working
0 Votes
Use of flag
0 Votes
Python input() function is strange (a bug or a feature?)
1 Votes