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
jeka94
2 years ago
5

Write an if/else statement that compares the variable age with 65, adds 1 to the variable seniorCitizens if age is greater than

or equal to 65, and adds 1 to the variable nonSeniors otherwise.
Computers and Technology
1 answer:
Oduvanchick [21]2 years ago
6 0

if age >= 65:

seniorCitizens = seniorCitizens + 1

else:

nonSeniors = nonSeniors + 1

You might be interested in
________(fill in the blank) in online education refer(s) to how fairly the particular needs of particular groups of students are
STatiana [176]

Answer:

Accessability

Explanation:

6 0
2 years ago
Which of the following is true about file formats?
statuscvo [17]

Answer:

A

Explanation:

The answer is A mate, if you need any help let me know please

3 0
3 years ago
Read 2 more answers
Define a function UpdateTimeWindow() with parameters timeStart, timeEnd, and offsetAmount. Each parameter is of type int. The fu
NARA [144]

Answer:

Here is a UpdateTimeWindow() method with parameters timeStart, timeEnd, and offsetAmount

// the timeEnd and timeStart variables are passed by pointer

void UpdateTimeWindow(int* timeStart, int* timeEnd, int offsetAmount){

// this can also be written as  *timeStart = *timeStart + offsetAmount;

*timeStart += offsetAmount;  //adds value of offsetAmount to that of //timeStart

// this can also be written as  *timeEnd = *timeEnd + offsetAmount;

  *timeEnd += offsetAmount;  } //adds value of offsetAmount to that of //timeEnd

Explanation:

The function has three int parameters timeStart, timeEnd, and offsetAmount.

First two parameters timeStart and End are passed by pointer. You can see the asterisk sign with them. Then in the body of the function there are two statements *timeStart += offsetAmount; and *End+= offsetAmount; in these statements the offsetAmount is added to the each of the two parameters timeStart and timeEnd.

8 0
2 years ago
The __________ River is Europe’s longest river.
MariettaO [177]

Answer:

<h3>The Volga river is Europes longest river.</h3><h2>HOPE IT HELPS</h2>
6 0
1 year ago
Read 2 more answers
How would you describe your experiences with social media, either for yourself or for people you know? Good, bad, or in the midd
horrorfan [7]

Answer: I would say it’s both good and bad. Firstly, it’s good because you’re able to communicate with people from all over the world, whether it’s a friend or family member. But on the other hand it’s bad too, because there are manny dangers of being online, such as having your personal information stolen, or being cyber-bullied. So while it is good for communication purposes, it does have it’s downsides.

5 0
3 years ago
Other questions:
  • What are the benefits of using presentations to organize and deliver information?
    8·1 answer
  • There was a thunderstorm in your area and the power went out.
    12·1 answer
  • Use a VLOOKUP function in cell I5 to identify and calculate the federal withholding tax. Use the tax rates from the range D21:E2
    15·1 answer
  • In Access, you use the Save As command to save a copy of your data. True or False
    15·1 answer
  • Use the variables k, d, and s so that they can read three different values from standard input--an integer, a double, and a stri
    15·1 answer
  • Rick is pursuing an undergraduate degree in electronics engineering. He aspires to be a robotics software engineer. Which topic
    14·1 answer
  • Series-connected 11-pF and 21-pF capacitors are placed in parallel with series-connected 22- pF and 30-pF capacitors. Determine
    10·1 answer
  • Help please not trying to fail
    13·1 answer
  • Explain the difference between file and folder (in your own words)
    6·1 answer
  • Which website offers guidance on putting together a checklist to provide guidance on configuring and hardening operating systems
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!