1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
galben [10]
3 years ago
12

Given a constant named size with a value of 5, which statement can you use to define and initialize an array of doubles named ga

llons with 5 elements? a. double gallons[size] = { 12.75, 14.87, 9.74, 6.99, 15.48 }; b. double gallons[size] { 12.75, 14.87, 9.74, 6.99, 15.48 }; c. double gallons[] { 12.75, 14.87, 9.74, 6.99, 15.48 }; d. all of the above e. a and b only
Computers and Technology
1 answer:
Vinil7 [7]3 years ago
7 0

Answer:

all of the above

You might be interested in
What type of computers have all the hardware integrated with the monitor
kenny6666 [7]
Its called an All-in-one Desktop
5 0
3 years ago
How do I do this? <br> Someone Please help
romanna [79]

Answer:

I am done solving there was a synthetic error very sorry I tried to help for 30mins

4 0
1 year ago
Google Project Fi customers can set up their phones as a mobile Wi-Fi router and allow their laptops or tablets to surf the Inte
mart [117]

Answer: Tethering

Explanation:

 The wireless tethering is one of the process in which the one person sharing their phone's data, information or file to the another mobile devices over the internet by using the various types of wireless devices such as Bluetooth, Wifi and the universal serial bus cable (USB).

According to the given question, the google project consumers setting up their phones with the WIFI routers and they allow their devices such as tablets, laptops for the purpose of surfing data by using the internet connection.

Therefore, this process is known as the wireless tethering.    

7 0
2 years ago
In Java please,
Bogdan [553]

Answer:

  1. import java.util.Scanner;
  2. public class Main {
  3.    public static void main(String[] args) {
  4.        Scanner input = new Scanner(System.in);
  5.        System.out.print("Enter meal total: $");
  6.        double meal = input.nextDouble();
  7.        double finalAmount = meal + meal *0.09;
  8.        if(finalAmount * 0.15 > 8){
  9.            finalAmount = finalAmount + 8;
  10.        }else{
  11.            finalAmount = finalAmount + finalAmount * 0.15;
  12.        }
  13.        System.out.println("Final amount: $" + finalAmount);
  14.    }
  15. }

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).

8 0
2 years ago
Software that interprets commands from the keyboard and mouse is also known as the 
Citrus2011 [14]

Answer:

D. operating system.​

Explanation:

In this question,  we have to find the software that interprets commands from the keyboard and mouse. For that, we have to evaluate each option.

A. hard drive.

Hard drive is the item that used to store the data. Additionally, it is a hardware. Therefore, this option is false.  

B. operating disk.

This is a software but it is mainly used to facilitate the read/ write commands from/to the disk in the system. Therefore, this option is also false.

 

C. desktop.

This is just the main screen or home screen that used to display different icons, files etc.

Desktop is also be used as an alternative of personal computer. That is a hardware item. Nevertheless, in both the cases, this option is false.

D. operating system.​

Operating system is also defined as a low-level software that aims to provide basic controlling and scheduling services. Interpretation of commands from keyboard or mouse is also and module of controlling services. Therefore, this option is true.

Hence, software that interprets commands from the keyboard and mouse is also known as the operating system.

6 0
3 years ago
Other questions:
  • What is the "host" in a typical email address?
    14·1 answer
  • Half of the integers stored in the array data are positive, and half are negative. Determine the
    15·1 answer
  • Search engines enable you to
    13·2 answers
  • ___ Jacking is a crime that takes place when a hacker misdirects URL to a different site. The Link Itself Looks Safe, But the us
    11·1 answer
  • By default, windows does not display ____________________ in windows explorer.
    8·1 answer
  • If you buy a 20 dollar thing with a 25 dollar gift card, do you still have 5 dollars?
    7·2 answers
  • MS Excel is a powerful spreadsheet program that helps people with complex mathematical calculations. In what ways could you use
    10·1 answer
  • The design of a blog refers to:
    10·1 answer
  • What is the purpose of saving code snippets?
    7·1 answer
  • What is output?<br> x = 2<br> y = 3<br> print (x * y + 2)<br> 4<br> 2<br> 8<br> 10
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!