Sign In
Ask Question
Yaretzi Osborn
Computers & Technology
11 September, 12:28
Edhesive 6.1 Code Practice
+4
Answers (
2
)
Donna Mack
11 September, 12:32
0
What kind of question is this?
Comment
Complaint
Link
Maia Potts
11 September, 12:57
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
Know the Answer?
Answer
Not Sure About the Answer?
Find an answer to your question 👍
“Edhesive 6.1 Code Practice ...”
in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers
You Might be Interested in
La resistencia eléctrica de la lámpara si tiene 1A y 5V
Answers (1)
What is the difference between ReactJS and AngularJS
Answers (2)
What is A cell that can hold or display data
Answers (1)
What is the output of the following code? stackList stack; int x, y; x = 2; y = 3; stack. push (8); stack. push (x); stack. push (x + 5); y = stack. top (); stack. pop (); stack. push (x + y); x = stack. top (); stack.
Answers (1)
Linux is an example of___?
Answers (2)
New Questions in Computers & Technology
Which statement about the Sun is correct? O A. Some of the waves that the Sun gives off is in the form of water. O B. Some of the energy that the Sun gives off is in the form of light. O C.
Answers (1)
What is the model for 2017 Ford Mustang v6
Answers (1)
Write the definition of a function reverse, whose first parameter is an array of integers and whose second parameter is the number of elements in the array. The function reverses the elements of the array. The function does not return a value.
Answers (1)
Which is a real-world example of a procedure?
Answers (1)
When compared to traditional desktop customers, why are mobile phone users much more likely to book a room or airline reservation for the same day?
Answers (1)
Home
»
Computers & Technology
» Edhesive 6.1 Code Practice
Sign In
Sign Up
Forgot Password?