Answer:
- import java.util.Scanner;
- public class Main {
-
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- System.out.print("Enter meal total: $");
- double meal = input.nextDouble();
- double finalAmount = meal + meal *0.09;
-
- if(finalAmount * 0.15 > 8){
- finalAmount = finalAmount + 8;
- }else{
- finalAmount = finalAmount + finalAmount * 0.15;
- }
- System.out.println("Final amount: $" + finalAmount);
- }
- }
Explanation:
Firstly, create a Scanner object and print user to input total meal (Line 5-7). Next, add the 9% tax to the meal total (Line 8). Use an if statement to check if the finalAmount multiplied by the 15% of tips is bigger than 8 (Line 10), if so, only add 8 to the final amount (Line 11). If not, add 15% tips to final amount (Line 12). At last, print out the final amount (Line 15).
Answer:
All of the above.
Explanation:
In Computer science, a bit is a short word for the term binary digit and it's primarily the basic (smallest) unit measurement of data or information.
A bit is a logical state which represents a single binary value of either one (1) or zero (0). This ultimately implies that, a single bit in computer science represents a boolean value of;
- True or ON, which is equal to one (1).
- False or OFF, which is equal to zero (0).
Therefore, a bit that is turned off represents the value of binary numbering because it has a numerical value of zero (0).
A binary sequence represents all binary digits that are to be written in sequences of ones (1s) and zeroes (0s). Hence, a binary sequence can be used to encode data such as sound (audio) strings of characters, video, images, colors, computer instruction codes etc.
<em>The true statements about the data that can be represented using binary sequences are;</em>
1. Binary sequences can be used to represent strings of characters.
2. Binary sequences can be used to represent colors.
3. Binary sequences can be used to represent audio recordings.
Answer:
continual user involvement gives the flexibility to analyze the requirements in right direction. because there is continuous meetings with the end user and he can provide right direction or avoids wrong interpretation of the requirement
Explanation:
continual user involvement is useful when we are following agile methodology where we are building complex systems. it is not useful for simple sytems and following waterfall methodology
Answer:
Son 3 de revolución francesa espero que te sirva 6,2,9,1,8,5
<span> have a tendency to turn more sharply than was intended</span>