Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
C# Properties : Fill in the blanks to create a read-only property X. The return value of the accessor should be the square of x.
c#
help
-1 Vote
2 Answers
16th Aug 2022, 4:43 PM
Mayooran Navamany
What is the value of h(6,8) for the function below?def h(m,n): ans = 1 while (n > 0): (ans,n) = (ans*m,n-2) return(ans)
python3
0 Votes
2 Answers
16th Feb 2018, 3:16 AM
I Am a Baked Potato
I'm doing an assignment guys and new to this programming thing.X=2.5 print ("The value of x is %d" %x) The output is?
python
0 Votes
2 Answers
6th Mar 2017, 9:51 PM
Malesela Mosuwe
How do you convert a saved date time value and turn it into days, hours, minutes or seconds. Based on time passed.
date
jquery
mysql
php
0 Votes
2 Answers
4th Mar 2017, 5:30 AM
Joshua Oducado
what if I want to skip a no and insert value into next no means Array[2]=8; Array[4]=9 size of array is 5??
arrays
javascript
0 Votes
2 Answers
15th Jul 2016, 11:36 AM
Afzaal Arif
which of the following converts a type to a boolean value , where possible in c# ?! toboolean , tosingle ' tochar , to datetime.
c#
-1 Vote
3 Answers
4th Apr 2017, 9:26 PM
Marina Gerges
I have to return the value they have in color = rojo and their name = contain 'n' and 'a' can you give me a hint? in JavaScript
beginner
code
engineer
ia
js
python
web
0 Votes
2 Answers
5th Sep 2022, 7:12 PM
Josué Varela
How do i exclude min and max values from an array considering there are 5 values. I want to ignore the max n min value and take the average of the rest 3.
and
arrays
c++
exluding
in
max
min
1 Vote
4 Answers
25th Oct 2016, 3:00 PM
Arshi Singh
If there is an increment operator in an if statement, if (x++>12) { }, will the value of x change in the remaining steps?
c++
if-statements
0 Votes
2 Answers
28th Jul 2017, 6:10 AM
Kalliath Abdul Rasheed Shamil
I have a doubt in list. If model class has a one list property then how can assign a value to that property ?
c#
0 Votes
1 Answer
1st Jun 2020, 10:51 AM
Sudha
Rearrange the codeto define a function foo which throw an exception with a value of -100. If parameter is greater than 999. Then
error
-1 Vote
2 Answers
12th Jun 2021, 10:15 AM
THABIT JAMAL OLADOSU
She plays work at a pizza place and earns 200 robux , creat a variable called robux and assign it the value 200 , she plays for
python
0 Votes
2 Answers
23rd Dec 2021, 6:59 AM
suraj prakash
Why can't I bring a value of a variable to an other method to do something with it and bring it back?
c#
csharp
0 Votes
1 Answer
17th Nov 2018, 2:37 PM
Samuel
(Heed help ) It's a c program that fine for the maximum and minimum value in a range of values depending on the user input ???
c
c++
only
or
please
program
used
1 Vote
1 Answer
26th Feb 2020, 7:04 PM
soulemanou kunchiefuh babanou
I always get an error when i try to push back the map's value to the vector also when i try to output the vector's value.
hashing
map
vector
0 Votes
1 Answer
1st Sep 2020, 11:54 AM
Morningstar
Help please: what im doint wrong? Programe dont work: im enter and 2 2 and "2" "2" , it is write: Value error: could not convert
code
0 Votes
3 Answers
18th Jan 2017, 6:51 PM
Даниэль Рустамов
If x = 2 then after executing the statement “ x = x + x + +” the value of x will be
c++
-2 Votes
2 Answers
23rd Apr 2020, 4:16 AM
Salman Hanif Safi
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
Iterator value ani is not an entry object and plzz tell me what's the difference between under constructor and set method ??
javascript
node
node.js
sololearn
0 Votes
1 Answer
12th Sep 2021, 9:20 AM
Aniket Ganguly
I'm not getting how to give the value to the size of array in main method?????.and how pass array value...findNumber is static
java
0 Votes
1 Answer
11th Dec 2017, 7:25 AM
Zameer shaikh
In a do while loop, condition is checked for the value of the variable at beginning of loop or after inc/dec operator?
loops
1 Vote
1 Answer
18th Jan 2018, 5:15 PM
Sarala devi CS
How can i change the value of a variable after it has been assigned in js? (But not by editing the code)
html
js
web
0 Votes
1 Answer
20th Jul 2017, 6:12 AM
Rishubh Naik
If printf statement is assigned to a variable. After the excecution of that printf statement what will be the value of variable
c
0 Votes
1 Answer
12th May 2020, 4:13 PM
Reshma Sai
when I run the code and enter the value of 'a' a letter instead of showing the erroe it's showing the sum.!?
c++
variables
0 Votes
1 Answer
19th Dec 2018, 9:16 AM
Aditya Rathore
find simple intrest. ask value of P R N from the user and pass in to the function and receive an answer.
c++
0 Votes
1 Answer
13th Dec 2017, 2:12 PM
RUTVIK JOSHI
In the Math class , Math.ceil() will always return an integer value then why is the following code giving an error ?
java
math
when
-1 Vote
2 Answers
25th Oct 2016, 9:56 AM
Celin
Fill in the blanks to declare a variable, add 5 to it and print its value ? X=4 , x__=5 , print__
python
-1 Vote
1 Answer
31st Jul 2022, 5:24 AM
Jafer Hu
Write the function to calculate the factorial value of any integr argument call function from man() and print the result in main
c++
0 Votes
1 Answer
31st Dec 2016, 3:09 PM
rag
in c/cpp, how can we check the returned value to the OS of main(or exit, ...) function? just i want to know.
cpp,
exit
main
0 Votes
1 Answer
18th Oct 2017, 6:22 AM
MD QAYAMUDDIN
Sql: "int default 1 not null" - how it works?
default
mysql
not
null
sql
value
0 Votes
1 Answer
9th Feb 2017, 2:47 AM
SentalPL
In two dimension array let say arr[x][y]. How can i make a c program having different x and y value or x and y be the user input
c
0 Votes
3 Answers
21st Sep 2018, 6:33 PM
Riya Runjhun
How to read lines of two value (eg. Adam 21) and transform it in ArrayList? I mean something like database with name and age
arraylist
java
readline
0 Votes
2 Answers
19th Sep 2017, 2:56 PM
Виктор Коляда
Setting decimal as increment in for loop. Is there a way to set increment of the value by a decimal? Eg. (x=0, x<=10, x+=0.25)
java
loops
0 Votes
2 Answers
20th Oct 2016, 4:40 AM
Eric Powpowpow Ang
I have developed a currency converter code in C where if we enter a value the output shows all the values of different currencies. How to do the same in Java ???
java
0 Votes
3 Answers
16th Mar 2017, 3:02 AM
Krishna Shashank
I want to learn call by value and call by reference method . Simply put up with facts . Till 11th standard requirement or a itsy
c++
nikkiamresh
sololearn
1 Vote
2 Answers
17th Oct 2017, 4:13 PM
Fire Feathers
How can i make a function in Python 3 - similar to raw_input functin in Python2- that allows me to enter a value and then use?
python
raw-input
1 Vote
2 Answers
22nd Mar 2017, 1:29 PM
Abuobida Abdalkarim Mohammed Yousif
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
Please help on below lines: i could not able to input 2 values. After getting value of N, throwing error at line 3
if-statements
python
0 Votes
2 Answers
15th Nov 2017, 4:22 AM
Mohammed Farook
k=int(raw_input("enter a limit")) f=1 i=1 n=0 while(i<=k): f=f*i i=i+1 import math x=int(raw_input ("enter the value of x")) while(n<=k): math.exp(x)=(x**n)/f n=n+1 print"e**x=",math.exp(x) wht is wrong with this program???
numeric-operations
python
0 Votes
3 Answers
18th Oct 2016, 12:13 AM
Navaneetha Babu
I need help writing a code that will remove all elements from the initial array that are of the same value as these arguments.
javascript
0 Votes
2 Answers
15th Jul 2017, 11:33 AM
Timothy
Guys in cpp I create a program has variable x and this program ask for the user input to give the value of x like this program :
c++
cpp
question_for_pro
0 Votes
2 Answers
2nd Aug 2019, 3:31 PM
PONAGAMA
I want a python program (use function ) in which first we check the odd even then return both value and then print
check
even
function
odd
program
python
return
then
value
-4 Votes
4 Answers
19th Dec 2017, 3:08 PM
Avinash Rawat
Here is an function to return the maximum value among three positive integers. There is an error in this function. Provide an in
answer
0 Votes
1 Answer
25th Sep 2019, 2:05 PM
Anirudh Putta
Fill in to get the value of the form field with id="name" and set it as the text of the paragraph with id="txt". var v = $("#na
jquery
0 Votes
1 Answer
5th Mar 2020, 6:50 AM
Nikhil Trada
JavaScript
code
correct
desing
javascript
number
numeric-operations
value
web
1 Vote
1 Answer
12th Jul 2024, 3:59 AM
Theekshana Fernando
How to use the method parameter in java? Give me an example program in which we can enter desired value of length and breadth
java
1 Vote
1 Answer
22nd Dec 2016, 6:01 AM
Sachidanand Prasad
hi... i probably didn't understand something but the following code doesn't lead to an error.. it changes the value of PI and prints it.
final
java
0 Votes
2 Answers
23rd Feb 2016, 7:56 AM
Orpheus
Can somebody explain to me how can a boolean have a value other than true or false in ruby? Truthies and falsies I mean.
boolean
ruby
0 Votes
1 Answer
15th Apr 2020, 6:13 PM
Einstein Shilly shally
when i am writing >>> 2+3 i get output as 5...but how this value 5 is stored in the memory location?...what is the name given to that memory location?
python
2 Votes
2 Answers
30th Jun 2016, 6:39 PM
dhrubadeep mitra
Shouldnt all strings have a value or something the says it could be empty or it might have a value. But making it empty isnt that wrong?
empty
strings
swift
1 Vote
2 Answers
9th Mar 2017, 6:12 PM
Raheem Steward
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
57
58
59
60
Next >
Hot today
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Odd even threads without condition variable
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes