Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Could someone give me the program for this question Input a number between 1 and 7 and print out the corresponding day of the week Sample input = 6 Sample output= saturday Thank
java
0 Votes
2 Answers
20th Nov 2016, 2:50 PM
David
x++ will increase a value sometimes. Please help me learn all of the times when it won't change x. This is my understanding so far: x=4; for { y=x++; } document.write(y) //returns 4 x=4; for { y=x++; y+=2; return y; } //returns 7 x++/2==? ++x/2=2.5
interations
javascript
loops
3 Votes
6 Answers
9th Oct 2016, 5:31 PM
ixnayOntheAmScray
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a wel
javascript
-1 Vote
1 Answer
29th Sep 2022, 5:15 AM
SYED AHMED
I updated my old windows 7 pc to 10 and now when i want to run pycharm it says it is not compatible and i also tried with previo
pycharm
0 Votes
1 Answer
11th Oct 2020, 6:58 PM
Kerod Endale
I tried following code try: num1 = 7 num2 = 0 print("Done calculation") print (num1 / num2) except ZeroDivisionError: print("An error occurred") print("due to zero division") It's throwing an error I don't understand why can someone explain me plz
exceptions
python
2 Votes
3 Answers
2nd Aug 2016, 12:02 AM
nikitha gireddy
why not this program output 7 and why it shows compiler error ??? #include<iostream> using namespace std; class a{ public: int f(){cout<<3;} int f(int a){cout<<a;} }; class b:public a { public: int f(){cout<<5;} }; int main() { b obj; obj.f(7); }
c++
1 Vote
3 Answers
1st Sep 2016, 9:22 AM
Lekhraj Singh
can anyone explain this output? #include <iostream> using namespace std; int x(int &a,int &b) { a=3; b=4; return a+b; } int main() { int a=2; int b=7; int c=x(a,a); cout <<a<<endl<<b<<endl<<c; } output:- 4 7 8
c++
0 Votes
2 Answers
23rd Aug 2016, 11:23 AM
Lekhraj Singh
A 1 B 2 C 3 D 4 E 5 F 6 G 7 H 8 I 9 J 10 K 11 L 12 M 13 N 14 O 15 P 16 Q 17 R 18 S 19 T 20 U 21 V 22 W 23 H 24 Y 25 Z 26 pleas help Me....java coding ......one looping use
java
0 Votes
5 Answers
29th Aug 2016, 4:53 AM
Aung Moe Hein
I don't understand how to comes following output???could anyone explain? #include <iostream> using namespace std; int x(int &a,int &b) { a=3; b=4; return a+b; } int main() { int a=2; int b=7; int c=x(a,a); cout <<a<<endl<<b<<endl<<c; } output:- 4 7 8
c++
1 Vote
2 Answers
24th Aug 2016, 6:20 AM
Lekhraj Singh
how people get new ideas for develop new software i thought from 7 days but i do not find what i make every day i say that android or Microsoft create new applications how who get ideas
c++
0 Votes
2 Answers
25th Aug 2016, 2:53 AM
shatya keshri
code block crashed my win 7 do not download it. i have code block 16.01 but when i created my first console project i see this :'couldnt create the project directory: C:\......' please help me what to do?
c++
0 Votes
1 Answer
19th Feb 2016, 7:49 AM
siavosh
in the LIMIT section it is said that the offset starts from 0 then why in this BETWEEN section rhe example is not like that...we are declaring from 3 to 7 and it is displaying from 3-7...as per said in the LIMIT it must have started from 4...can anyone explain this please???
sql
2 Votes
2 Answers
8th Aug 2016, 12:47 AM
Gadagoju Prudhvi
Anyone to help out on this codes?
-1.0,
-9.3,
0,
1.0,
1.5,
12,
2.5,
22,
3.0
34,
43,
45,
54,
7
99
any
c++
choosing.
data:
different
i:
ii:
iii:
numbers
of
own
program
run
sets
three
times,
using
your
-1 Vote
1 Answer
13th Oct 2018, 2:51 PM
Abraham Shilikomwenyo
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
9
10
Next >
Hot today
What's wrong with this code ? ( Beginner)
3 Votes
Ejercicio Pytho
0 Votes
Please rate my code from 1 to 10
2 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Write a program to find the strings are in isogram or not
0 Votes
Square Roots
0 Votes
Pig Latin
0 Votes
Uuu
1 Votes
Currently learning C++, Iām getting into socket programming with C++
0 Votes
How to start
0 Votes