Declare and initialize the following variables: monthOfYear, initialized to the value 11 companyRevenue, initialized to the value 5666777 firstClassTicketPrice, initialized to the value 6000 totalPopulation, initialized to the value 1222333

Answers

Answer 1
Answer:

Answer:

int monthOfYear=11;

long companyRevenue=5666777;

int firstClassTicketPrice=6000;

long totalPopulation=1222333;

Explanation:

Here we have declared four variable   monthOfYear ,  companyRevenue,   firstClassTicketPrice ,  totalPopulation as int ,long, int and long type .We have declared companyRevenue,totalPopulation as long type because it exceed the range of integer.

Following are the program in c language

#include <stdio.h> // header file

int main() // main function

{

int monthOfYear=11; // variable

long companyRevenue=5666777; //variable

int firstClassTicketPrice=6000;//variable

long totalPopulation=1222333;//variable

printf("%d\n%ld\n%d\n%ld",monthOfYear,companyRevenue,firstClassTicketPrice,totalPopulation); // display value

   return 0;

}

Output:

11

5666777

6000

1222333


Related Questions

ccording to the trust services framework, the reliability principle of integrity is achieved when the system produces data that
William has an internet connection that does not allow him to make calls when connected to the Internet. What internet service can he use over his existing telephone line that will enable him to make calls and browse the Internet at the same time?
Write a summary, on the requirements for a home automation IoT network discussing whether Wi-Fi is the best network option, by considering radio coverage, power consumption, cost and convenience. You should also outline how, in using ZigBee as a home automation network, some of the Wi-Fi issues you have identified, are addressed.
What is the difference between design state and the implementation stage in the development of software?
A Compliance Program with well written policies and procedures: a. can be successful if consistently reviewed and maintained b. cannot be effective due to the sheer volume presented c. will be effective if read by management d. will not be successful without the proper oversight

What are the two main things an operating system does?

Answers

Hello,

A computers operating system manages the software and hard ware on the computer.

Thanks for using brainly.

Please can anyone tell me what is the is the correct answer there are 5 option to choose​

Answers

i dont know- i need the answer.

How many of devices you identified inside the control room need to magnetism to operate

Answers

the answer is 3 devices

There are six devices which need to magnetism to operate. Those six devices are microphones, an audio console, audio interference, computers, disks players, and studio monitors.

Explanation:

To identify the fundamental recording tools of a digital radio studio and to classify if devices use magnetism and/or electricity or when used in recording audio, there are some steps to do. You can begin reading on electromagnetic induction’s role in recording technology, doing experiments by following the guide, and many more. Typically, there are some materials in the control room. They are pictures of video clip on video player, a radio station tour, accessories, and screen. In general, a lot of materials run on electricity has a related magnetism to it. This study is the focus on physics subject with the focus on electricity and magnetism. Considering that you are studying physics about electricity and magnetism and not to be confused by the differences between electrical devices and magnetism devices, some terms should know about magnetism devices:

• Electromagnetism contains the study of magnetism and electricity, and how the two are connected. Electromagnets are temporary magnet, if electric current flows through a magnet, producing a magnetic field. Some electromagnets create a very strong magnetic field when current flows through it.

• Magnetism and electromagnetism are basic concepts in Physics, the key disparity is the magnetic surrounds just a phenomenon due to magnetic force, while electromagnetism surrounds a phenomenon due to magnetic and electric forces.

• Generic control room sample images are attached.

LEARN MORE

If you’re interested in learning more about this topic, we recommend you to also take a look at the following questions:

• How many of devices you identified inside the control room need to magnetism to operate? brainly.com/question/1642736

• How many of the devices you identified inside the control room need electricity to operate? brainly.com/question/730146

KEYWORDS :

magnetism, electromagnetism

Subject  : Computers and technology

Class  : 10-12

Sub-Chapter : Force, Motion and Electricity

Joy is taking out a car loan which she will pay back with interest. Which option will require her to pay the lowest amount in interest?

Answers

There are 2 factors that would determine this , 
1. The initial amount
2. The percentage of interest

Since you provide no options, your answer will be the one with lowest amount after you multiply both the initial amount and the percentage of interest

You are given a class named clock that has one int instance variable called hours. write a constructor with no parameters for the class clock. the constructor should set hours to 12.

Answers

in java it would be 

public clock()
{
     hours = 12;
}

Which sign or symbol will you use to lock cells for absolute cell reference?
ampersand
asterisk
dollar sign
exclamation mark

Answers

Answer:

__A__ Is a sign or symbol that will be used to lock cells for absolute cell reference?

Answer Choices:

A.  Ampersand

B.  Asterisk

C.  Dollar sign

D.  Exclamation mark

Explanation:

In spreadsheet applications, a reference to a particular cell or group of cells that does not change, even if you change the shape or size of the spreadsheet, or copy the reference to another cell.

Example:

In Lotus 1-2-3 and other spreadsheet programs, the cell reference "$A$3" is an absolute cell reference that always points to the cell in the first column and third row. In contrast, the reference "A3" is a relative cell reference that initially points to the cell in the first column and third row, but may change if you copy the reference to another cell or change the shape and size of the spreadsheet in some other way. Absolute cell references are particularly useful for referencing constant values (i.e., values that never change).