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
What is the purpose of the .NET Framework Class Library? a. it provides pre-written code that can be used by .NET applications b
Burka [1]

Answer:

d. it specifies the data types that can be used by .NET applications.

Explanation:

The .NET Framework Class Library (FCL) makes the system functionality of the .NET Framework available because it contains interfaces, data types, various classes and so on.

It is also important to note that the FCL is integrated to the CLR or Common Language Runtime of .NET Framework which is responsible for code execution.

The Framework Class Library or FCL can be categorized broadly into three:

1.  Frameworks

2. Utility features in .NET, and

3. Wrappers around the Operating System (OS) functionality.

1. Frameworks: The FCL contains many frameworks aimed at the development of some applications. For instance, WPF or Windows Presentation Foundation is used to carry out a number of functions but majorly to render user interfaces.

2. Utility features in .NET: This contains a number of classes for use in the .NET framework, examples of these classes include: dictionary, queue, stack, list and so on. Additionally, it contains classes for different manipulations, for example, for handling regular expressions the Regex class is available for use.

3. Wrappers around the Operating System (OS) functionality: Contained in the Framework Class Library are wrappers that are present at the root functionality of the Windows OS. For instance, classes to handle I/O, network features, file system as so on.

8 0
3 years ago
Threads in the ____ are idle, pending availability of a cpu.
slava [35]
Run queue. They can also be waiting on I/O.
7 0
4 years ago
What to do when microsoft word is eating your words?
Aloiza [94]
Update it so it wont do that
4 0
3 years ago
What will be returned when the following SQL statement is executed?
ycow [4]

Answer:

b) A listing of each driver as well as the number of deliveries that he or she has made

Explanation:

SQL which stands for Structured Query Language. and an SQL statements are used in performing tasks such as to update data on a database, or retrieve data from a database. Some of the popular relational database management systems that use SQL are: Sybase, Oracle, Microsoft SQL Server, Ingres, Access, etc.

3 0
3 years ago
Read 2 more answers
The printer prints 16 pages every minute. How many pages are printed in 6 minutes?
Olenka [21]

Answer:

96 pages are printed in 6 minutes

7 0
3 years ago
Read 2 more answers
Other questions:
  • Nolan has just created a linked cell to another cell in a separate worksheet in his current Excel 2016 workbook.
    10·2 answers
  • What is an extrinsic value? A. something that is valuable in and of itself B. something that is valuable because it leads to ano
    12·1 answer
  • Chole enjoys her math classes, and she would like to find a career that will allow her to continue use her math skillls which ca
    10·1 answer
  • What does GPA mean? Please tell me!
    13·2 answers
  • If wire rope guard rails are used what must also be done?
    10·1 answer
  • Which type of computer network ensures high security
    10·1 answer
  • PowerPoint SAM Capstone Project 1 can PLEASE someone do it for me I have some directions like steps and you just have to do it i
    10·2 answers
  • Because filling a pool/pond with water requires much more water than normal usage, your local city charges a special rate of $0.
    14·1 answer
  • Comment if u wanna text me on behance
    6·1 answer
  • Differentiate between off the shelf software and bespoke software
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!