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
Neko [114]
3 years ago
12

Declare an array named tax rates of five elements of type double and initialize the elements (starting with the first) to the va

lues 0.10, 0.15, 0.21, 0.28, 0.31, respectively.
Computers and Technology
1 answer:
inysia [295]3 years ago
4 0

Answer:

"double tax_rates[5]= {0.10, 0.15, 0.21, 0.28, 0.31};" is the correct answer for the above question.

Explanation:

  • An array is a user-defined data type that is used to define the multiple variables of a single type in a continuous storage location.
  • In the C-programming language, When the user wants to declare an array he needs to define with the help of data type and size of the array with the help of the following syntax-- "Data_type variable_name [size_of_the_array];".
  • When the user wants to initialize the static value in the array then he can do that by the help of following syntax: "Data_type variable_name [size_of_the_array]={first_value,second_value,....,last_value};
  • The above question asked to defined the array of tax_rates name of type double with the above-defined value then he can do that with the help of above-defined syntax (which is defined in the answer part).
You might be interested in
Select the correct answer. Which sentence best describe an effective management strategy? A. Conceal game-related clippings prio
andrew-mc [135]

Answer: I would say it is B

5 0
4 years ago
Read 2 more answers
What do you do when ur grounded from all electronics and can't go outside and have t clean all day
MAXImum [283]

Answer:

read, write, draw!

Explanation:

It would be fun!

6 0
3 years ago
For this question you must write a java class called Rectangle and a client class called RectangleClient. The partial Rectangle
polet [3.4K]

Answer:

Java.

Explanation:

public class Rectangle {

   private int x;

   private int y;

   private int width;

   private int height;

   ///////////////////////////////////////////////////////////

   public Rectangle(int inX, inY, inWidth, inHeight) {

       x = inX;

       y = inY;

       width = inWidth;

       height = inHeight;

   }

   ///////////////////////////////////////////////////////////

   public int getX() {

       return x;

   }

   public int getY() {

       return y;

   }

   

   public int getWidth() {

       return width;

   }

   public int getHeight() {

       return height;

   }

   ///////////////////////////////////////////////////////////

   public int getArea() {

       return width * height;

   }

   public bool isSquare() {

       if (width == height) {

           return true;

       }

       else

           return false;

   }

   ///////////////////////////////////////////////////////////

   public String toString() {

       return "Rectangle located at (" + x + "," + y + ")" + "with dimensions " + width + "x" + height + "and " + getArea() + "is the area.";

   }

}

8 0
3 years ago
A Windows user is locked out of her computer, and you must log into the local administrator account Helpdesk Admin. Which would
Damm [24]

Answer:

B is the correct answer

5 0
3 years ago
Have all of my coins because i will delete acount there will be part 2, 3 , 4 ,5,6,7,8
kirza4 [7]
Thank you very much your are awesome
3 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following is NOT a means of advertising on websites?
    12·2 answers
  • What is the name of the amount of space between the content of a document and the edge of the page?
    13·1 answer
  • Describe a scenario for which a find unmatched query could be used.
    12·1 answer
  • When is e-mail an appropriate channel for goodwill messages? If you frequently communicate with the receiver by e-mail and are c
    15·1 answer
  • Sponse that best answers the question.
    11·2 answers
  • Connie decided that her paper should be organized in the order in which the events happened. What type of organizational method
    15·1 answer
  • Materials such as copper, silver, and aluminum through which electric energy passes freely are called
    13·1 answer
  • Making sure that your business has something special and distinct to offer is known as?
    12·1 answer
  • 111+ 11- 1 <br><br><br>1111+1111<br><br><br><br><br>1101 +1101<br><br><br>1010-11​
    10·2 answers
  • Formulas should follow the___
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!