You should have bullets in a text box in case you have a list of stuff. For example:
Computer Parts
.Tower
.Monitor
. Mouse
.Printer
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.
Operation Information System, because you are only collecting data on the amount of products leaving the store.
When there is an error in the code, the function that should be used is A. float(); weight requires decimals
<h3>When is a code?</h3>
Computer code, or a set of instructions or a system of rules defined in a specific programming language, is a term used in computer programming (i.e., the source code). It is also the name given to the source code after a compiler has prepared it for computer execution.
A float is a number with a decimal place since it is a floating-point number. When greater precision is required, floats are employed. The provided value is transformed into a floating point number by the float() function. In this case, the code is used to calculate the weight of an item and the float function will be vital.
Learn more about programs and code on:
brainly.com/question/22654163
#SPJ1
Answer:
ur right violence should not be fought by violence
but sometimes there are problems in the world
that just happens to lead with violence