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]
2 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]2 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
What's the biggest security issue with using social networking sites to market your listings?
Savatey [412]

The biggest security issue with using social networking sites to market your listings is Criminals may use social networking sites to identify your personal data.

<h3>What is a social marketing site?</h3>

A social marketing site is a site where people from around the world are connected in one place and share their thoughts and photos and other data.

The social sites are on the internet and there is a chance of stealing data and it identity theft, phishing, online predators, internet fraud, and other cybercriminal attacks are also some risks.

Thus, the largest security concern with using social networking sites to sell your listings is that thieves could use these sites to find personal information about you.

To learn more about social marketing sites, refer to the link:

brainly.com/question/15051868

#SPJ4

6 0
1 year ago
Given an int variable k that has already been declared, use a while loop to print a single line consisting of 88 asterisks. Use
Grace [21]

Answer:

True

Explanation:

The while loop is going to be executed until the condition is false.

Since <em>k</em> is initially equal to 1, the loop will execute 88 times. One asterisk will be printed and <em>k</em> will be incremented by one during each iteration.

When <em>k</em> becomes 89, the condition will be false (89 is not smaller or equal to 88) and the loop will stop.

6 0
2 years ago
A company needs to store its documents in one place, share news and information with all staff, and allow access for employees w
Greeley [361]
An NAS
Would do The Trick
4 0
2 years ago
Anisha was learning ‘for’ and ‘while’ loop. Help her understand why for and while loops are called entry controlled loops.
Andrew [12]

Entry controlled loop - <u>The loop which has a condition check at the entrance of the loop, the loop executes only and only if the condition is satisfied is called as entry control loop.</u>

So, for and while loops are its examples.

6 0
2 years ago
Yuki is preparing to write a research paper for his history class. Which style guide would be best for him to use?
FromTheMoon [43]
The answer is Modern Language Association (MLA).  Yuki is preparing to write a research paper for his history class. The style guide that would be best for him to use is Modern Language Association (MLA).  <span>MLA style is a system for documenting sources in scholarly writing.  it has been widely used for classroom instruction and used worldwide by scholars, journal publishers, academic and commercial presses.</span>
3 0
3 years ago
Read 2 more answers
Other questions:
  • You write a short story, but you want to make sure your work is protected before you post it online. What should you do to help
    7·1 answer
  • Rows within a spreadsheet are identified by:
    8·1 answer
  • How do I do a PowerPoint
    10·2 answers
  • Select the correct answer
    11·1 answer
  • Define an organizational unit in your own words.
    11·1 answer
  • Tom Daniels, an employee of a telecommunications company, is developing software that would enable customers to activate value-a
    7·1 answer
  • Write a function findWithinThreshold that identifies the elements of a given array that are inside a threshold value. Takes the
    13·1 answer
  • Bao bì chủ động active packaging và bao bì thông minh intelligent packaging khác biệt như thế nào
    15·1 answer
  • please help no one is helping me on this one
    9·1 answer
  • 1.-  POR QUE LOS HUMANOS NOS INTERESAMOS EN ROBOTS CONASPECTO HUMANO?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!