Answer:
import java.util.Scanner;
public class TeenagerDetector {
public static void main (String [] args) {
Scanner scnr = new Scanner(System.in);
boolean isTeenager;
int kidAge;
kidAge = scnr.nextInt();
/* Your solution goes here */
isTeenager = (kidAge >= 13) && (kidAge <= 19);
if (isTeenager) {
System.out.println("Teen");
} else { System.out.println("Not teen"); } } }
Explanation:
A condition which check for the teenager age and return a boolean is assigned to isTeenager.
isTeenager = (kidAge >=13) && (kidAge <= 19);
So, if the kidAge is greater than/equal to 13 and less than/19, the boolean isTeenager will be true and the program will output "Teen" else "false" will be output.
The range of age for a teenager is 13 - 19.
Answer:
nest an else clause within an elif clause
Explanation:
in python Programming, we cannot nest an else clause within an elif clause. elif is actually else if condition. we cannot nest another else with in elif clause.
Productivity programs improved the professional lives of people because:
- made it easier and faster to communicate with others
- made it easier to manipulate numbers in a spreadsheet
- made it easier and less expensive to present information
<h3>What is productivity?</h3>
Productivity is known to be the level of efficiency in regards to the production of goods or services and it is one that is rated by some measure.
Hence, Productivity programs improved the professional lives of people because:
- made it easier and faster to communicate with others
- made it easier to manipulate numbers in a spreadsheet
- made it easier and less expensive to present information
Learn more about productivity from
brainly.com/question/14262252
#SPJ1
Answer:
Losing jobs. Fire. Destruction of property.
Explanation:
Having a company shut down due to lack of protection and having people testify products unsafe. If software blows up it could cause desturction of property therefore causing the effect of many people losing their jobs.