The logical expressions are
- (X NOR Y ) OR Z ⇒

- (A NAND B) AND NOT C ⇒

<h3>How to determine the
logical expressions?</h3>
<u>Logical expression 1</u>
X and Y are linked by the NOR gate.
So, we have:
X NOR Y
The X NOR Y is linked to Z by the OR gate.
So, we have:
(X NOR Y) OR Z
Hence, the logical expression is (X NOR Y ) OR Z ⇒ 
<u>Logical expression 2</u>
A and B are linked by the NAND gate.
So, we have:
A NAND B
The A NAND B is linked to C by the AND gate.
So, we have:
(A NAND B) AND C
Hence, the logical expression is (A NAND B) AND NOT C ⇒ 
See attachment for the truth tables
Read more about truth tables at:
brainly.com/question/27989881
#SPJ1
You have to add it and then there should be a layout button and you have to press that button
Here you go,
import java.util.Scanner;
import java.util.Random;
public class OrderCalculator{
public static void main(String[] args){
float x, y, z, semi, area;
Scanner in = new Scanner(System.in);
System.out.print("Enter the 3 sides: ");
x = in.nextFloat();
y = in.nextFloat();
z = in.nextFloat();
semi = (float) ((x + y + z) / 2.0);
area = (float) Math.sqrt(semi * (semi - x) * (semi - y) * (semi - z));
System.out.printf("The area is: %.3f\n", area);
}
}
Answer:
The answer to the above questions is given in explanation section:
Explanation:
abstraction hides the details about a specific piece of information.
The suitable match for this is Data
Because the word "Piece of information " can only be referred to data not to process.
Now look at the second
abstraction hides the details about a specific process
The suitable match here is procedural.
because specific process can only be referred to procedure not to data.
Yes it is in fact it is usful