Answer:
The correct code to the given question is
if ((counter % 10) == 0) // check the condition
{
System.out.println("Counter is divisible by ten: " + counter); // display
}
else // check the condition
{
System.out.println("Counter is not divisible by ten: " +counter); // display the //value
}
counter++; // increment the value of counter
Explanation:
Following are the description of code
- In the given question we have to check the condition that the given number is divisible by 10 or not .
- In the if block if the number is divisible by 10 then it print the value of number and increment the value of counter .
- In the else block if the number is not divisible by 10 then it print the value of number and increment the value of counter .
- It means the value of counter is increases in the if block as well as in the else block .So we have to remove the counter statement from there and place outside the if and else block .
Answer:
Simplify a complex problem means reduces its complexity and make it easy to understand. When we make the problem simplified then, the data become more clear and understandable.
There are many ways to simplify a complex problem as follows:
- Organize the information and content properly and reduces the layers of complexity. Organized the content in the form of steps so that it become easy to understand.
- Use of clear language is one of the most important part to make the content more clear and use proper formatting of the data.
- Break the information into smaller parts to it can easy to read and looks more clearly. So, the reader finds it more comfortable and efficient.
Answer:
Apple iWork.
Explanation:
Apple iWork would not work for whole group.
Im guessing you mean where coding is used?
pretty much anything with lights or a button
but, examples:
(some) watches
(newer) cars
planes
boats
credit cards (using one requires code to be ran)
Cash registers
(some) safes
Alarm Clocks
Routers
ATMs
eBooks
Cellular Sattelites
Weather Sattelites
Energy Grids
Water Plants
Sewage
Anywhere where mail is sorted