Answer:
public static void print_popcorn_time(int bag_ounces){
if(bag_ounces<3){
System.out.println("Too Small");
}
else if(bag_ounces>10){
System.out.println("Too Large");
}
else{
bag_ounces*=6;
System.out.println(bag_ounces+" seconds");
}
}
Explanation:
Using Java prograamming Language.
The Method (function) print_popcorn_time is defined to accept a single parameter of type int
Using if...else if ....else statements it prints the expected output given in the question
A complete java program calling the method is given below
public class num6 {
public static void main(String[] args) {
int bagOunces = 7;
print_popcorn_time(bagOunces);
}
public static void print_popcorn_time(int bag_ounces){
if(bag_ounces<3){
System.out.println("Too Small");
}
else if(bag_ounces>10){
System.out.println("Too Large");
}
else{
bag_ounces*=6;
System.out.println(bag_ounces+" seconds");
}
}
}
The expression NOT (3+2=7) evaluates as TRUE because is is NOT the case that 3+2=7.
Let me know if you have any questions.
It should be noted that the hardware component that keeps data and information when the device is not powered is called a storage device.
This device can be permanent or temporary storage device.
<h3>What is a storage device?</h3>
Storage device can be regarded as the device that store data.
There are different storage devices for the computer system, they includes;
- Optical Storage Devices.
- External HDDs
- Random Access Memory
- Flash memory devices.
- Floppy Disks.
Learn more about storage device at ;
brainly.com/question/21283135
Paper size is how big or small the paper is whilst paper margin is the staight lines or shapes at the sides of a page or sheet.