Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else {
java
1 Vote
3 Answers
28th Dec 2017, 11:00 AM
Akshara k
int a = 11; int b = 12; int c = 40; if (a > 100 || b > 3) { System.out.println(a); } else { System.out.println(c); }
java
loops
operators
0 Votes
1 Answer
23rd Feb 2017, 12:26 PM
Mohammad Ramadany
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else { result += i;
c#
1 Vote
4 Answers
27th Nov 2017, 3:26 AM
Madhuri Bhamare
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else {
java
1 Vote
3 Answers
5th Mar 2017, 9:51 PM
ABDERRAZAQ NADIR
which members of A are accessible from B?and why? class A{ int a; protected: float b; public: char c; }; class B:private A{}; 1) a 2) b 3) c 4) none
c++
0 Votes
3 Answers
25th Aug 2016, 3:28 AM
Lekhraj Singh
Write a python program to print the sum of all odd numbers from 1 to 100.
"b"
"c")
("a"
(1
=
2
3)
tuple1
tuple2
tuple3
-5 Votes
7 Answers
12th Oct 2020, 2:39 PM
wherearetheavocados
What will be printed to the screen after the following statements? let b = 20 var a = 5 a = b let c = b * (a > 10 ? 2 : 3) print
swift
0 Votes
2 Answers
30th Jun 2020, 8:56 AM
D’ Koder
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else {
java
-5 Votes
6 Answers
18th Jun 2017, 11:06 AM
Walter Mugo
What is the output of the following code? int a = 11; int b = 12; int c = 40; if (a > 100 || b > 3) { System.out.println(a
java
operators
-1 Vote
2 Answers
5th Oct 2016, 8:32 PM
Khloud Mohamed
Why is the output 17 ? (this is the array modul quiz(SoloLearn)) int result = 0; for (int i = 0; i < 5; i++){ if (i == 3) { result += 10; }else{ result += i; } } System.out.println (result);
java
0 Votes
5 Answers
22nd Jul 2016, 9:41 AM
Peter Müller
What will be printed to the screen after the following statements? let b = 20 var a = 5 a = b let c = b * (a > 10 ? 2 : 3) print
swift
-2 Votes
1 Answer
30th Jun 2020, 8:55 AM
D’ Koder
Write a python program to print the sum of all odd numbers from 1 to 100.
"b"
"c")
("a"
(1
=
2
3)
tuple1
tuple2
tuple3
-3 Votes
3 Answers
12th Oct 2020, 2:39 PM
wherearetheavocados
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
Next >
Hot today
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
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
Ruby programming?
3 Votes