Brigat1551 Brigat1551
  • 28-10-2020
  • Computers and Technology
contestada

Write C11 statements that accomplish the following. (6, 7) a. Declare int variables x and y. Initialize x to 25 and y to 18

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 28-10-2020

Answer:

int x, y;

x = 25;

y = 18;

Explanation:

Programming language: C++

This line declares both variables

int x, y;

This line initializes x to 25

x = 25;

This line initializes y to 18

y = 18;

Answer Link

Otras preguntas

Antislavery Whigs, Democrats, and Free-Soilers joined together to form the a. Northern Party. c. Republican Party. b. Abolitionist Party. d. Antislavery Society
A car whose mass is 1000 kg is traveling at the constant speed of 10 m/s. Neglecting any friction, how much will the engine have to supply to keep going the sam
In ancient Rome, involvement in politics was an unpaid opportunity. Why, then, were some people able to get involved in politics?
Fred buys a video game disk for $4. There was a discount of 20%.What is the sales price
By thinking about what is really important to you, you can determine your _____. a. aptitude b. personality c. values d. career
Shays' Rebellion encouraged national leaders to A. repeal the Stamp Act. B. change the Declaration of Independence. C. repeal the Bill of Rights. D. seek altern
What happens to the hydrogen ions that are split from water molecules
Blair is making a granola recipe that calls for two and 2/3rd cups of oats and 1 1/3 cups of cranberries. blair mixes the oats and cranberries together. Each se
Interphase occupies approximately _____ of the cell cycle.
raju is x years old, his father is 3 years more than twice his age.find his fathers age?