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
sashaice [31]
3 years ago
15

The exercise instructions here are long -- please read them all carefully. If you see an internal scrollbar to the right of thes

e instructions, be sure to scroll down to read everything. Declare and initialize the following variables:_______.
A) A variable month of Year, initialized to the value 11.
B) A variable company Revenue, initialized to the value 5666777.
C) A variable first Class Ticket Price, initialized to the value 6000.
D) A variable total Population, initialized to the value 1222333.
Computers and Technology
1 answer:
AnnZ [28]3 years ago
5 0

Answer:

A) int monthofYear = 11;

B) long companyRevenue = 5666777;

C) int ClassTicketPrice = 6000;

D) long totalPopulation = 1222333;

Explanation:

A) The variable <em>monthofYear </em>is initialized with value 11. The data type of the variable is int as 11 is an integer value.

B) The variable <em>companyRevenue </em>is initialized with value 5666777. The data type of the variable is long as 5666777 is a large value and need more bytes to store in the memory.

C) The variable ClassTicketPrice is initialized with value 6000. The data type of the variable is int as 6000 is an integer value.

D) The variable <em>totalPopulation </em>is initialized with value 1222333. The data type of the variable is long.

Note: - The programming language (C, C++, JAVA, etc) in which the variables are declared is a case sensitive language that is no special symbol and white spaces are allowed while declaring the variables.

You might be interested in
Write a Tip Calculator in code in VMware Fusion
lisabon 2012 [21]

final \: amount \times percent \: of \: tip = tip \: amount
7 0
3 years ago
A hardware compatibility list recommends striping with double parity as storage for an application. In a test environment, a tec
riadik2000 [5.3K]

Answer:

RAID level 5 can be used to compensate a limited number of available disks.

Explanation:

There are two type of RAID

  • Software RAID
  • Hardware RAID

Software RAID

deliver services form the host.

Hardware RAID

provides hardware services.

RAID has levels

0, 1, 5, 6, and 10

RAID 0, 1, and 5 work on both HDD and SSD media,

4 and 6 also work on both media.

RAID 0 :Striping

In this level minimum of two disks,RAID 0 split the file strip the data.Multiple hard drive are used to split the data.

RAID 1 : Mirroring

In this level Minimum two disk require and provide data tendency.

RAID 5 :Stripping with parity

Parity is a binary data.RAID system calculate the value which system used to recover the data.

Most RAID system with parity function store parity blocks.

RAID 5 combines the performance of RAID 0 with redundancy of RAID 1.

RAID 5 level should minimize the fault tolerance.

4 0
3 years ago
How do you measure the capacity of speed and memory of computer system<br>Explain.​
jeka94
Im sorry i just need points
3 0
3 years ago
Answer quickly!!!
ioda

Answer: Harry should check that font he has used are readable on every page and element of his website


Harry should check that all images have alt texts

Explanation: edmentum

7 0
2 years ago
Which statement is true about dynamic microphones?
Xelga [282]

Answer:

b they have high sensitivity to surrounding sound

Explanation:

tell me it's correct or not

if it's correct so I hope it is helpful for you

but no so I am sorry

6 0
2 years ago
Read 2 more answers
Other questions:
  • Jail and prison officials may generally limit inmate rights when the limitations serve
    13·2 answers
  • A ________ is a collection of forms, reports, queries, and programs that serves as an intermediary between users and database da
    6·1 answer
  • Suppose barriers to entry exist in the telecommunications industry. This best describes a _____ market.
    12·1 answer
  • Rule number one for handling an emergency is to _____. A. buy a new vehicle B. call law enforcement C. remain calm D. restart th
    6·2 answers
  • In this lab you will learn about the concept of Normal Forms for refining your database design. You will then apply the normaliz
    15·1 answer
  • When power is completely removed from your computer
    11·1 answer
  • What is a mod in programming?<br><br> Give more Java questions
    12·1 answer
  • Um ok that makes sooo much sence
    11·2 answers
  • Write a static method reOrder56(int[] nums) that return an array that contains exactly the same numbers as the given array, but
    10·1 answer
  • I need help with this question.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!