Sign In
Ask Question
Computers & Technology
Meredith Pierce
16 December, 10:46
Edhesive 6.1 Code Practice
+1
Answers (
2
)
Maribel Dean
16 December, 11:00
0
I could find an Introduction to Computer Science course online about this question, in this course, in unit 6 and the first lesson is about LOOP.
Loop in programming is a cycle, we can use a cycle for and cycle while, this depends on our needs.
For example:
We could need an increase 1 by 1 in a number, we're going to do an example in the language java.
In this case, we have the variable "i" equal to 0, this variable going to increase with this code "++i" 1 by 1, with the condition i < 5, If the variables i is less than 5 then increase variable, until "i" be equal to 5, we print the result with the line System. out. println (i);
would be:
0
1
2
3
4
Until 4 because the condition is always less than 5, we cannot print 5 because is equal to 5
for (int i = 0; i < 5; + +i) {
System. out. println (i);
}
Comment
Complaint
Link
Pamela Orr
16 December, 14:45
0
What kind of question is this?
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Get an answer to your question ✅
“Edhesive 6.1 Code Practice ...”
in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers
You Might be Interested in
Operating system that has features similar to desktop operating system but is simpler and significantly smaller
Answers (1)
Discuss any three Networked Applications targeted/attacked by Botnet
Answers (1)
Write the definition of a method printAttitude, which has an int parameter and returns nothing. The method prints a message to standard output depending on the value of its parameter. If the parameter equals 1, the method prints disagree.
Answers (1)
Which of the following attributes of a website indicates a more reliable source for information? a. Author's information is not listed b. Site ends in ". edu" c. Site contains spelling/grammar errors d. No sources cited
Answers (1)
Who create and developed castlevania?
Answers (1)
New Questions in Computers & Technology
Using a for loop, write a program that prints out the decimal equivalents of 1/2, 1/3, 1/4, ..., 1/10.
Answers (1)
Drag each item to the appropriate bin. if the item is not an input to or an output from the light reactions, drag it to the "not input or output" bin.
Answers (1)
An engine is considered "cross-platform" if it: A) can develop both 2D and 3D games B) can include an in-app purchase component C) can be used to make games for different gaming systems and software packages D) can communicate with other platforms
Answers (1)
What would be the most popular piece of technology on Earth?
Answers (2)
The process of providing and denying access to objects is called:
Answers (1)
Home
»
Computers & Technology
» Edhesive 6.1 Code Practice
Sign In
Sign Up
Forgot Password?