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
Simora [160]
2 years ago
11

AP CSA help needed. Java please.

Computers and Technology
1 answer:
leva [86]2 years ago
5 0
#include using namespace std;int main(){int year = 12,value = 10,total = 0;do{year++;value *= 2;total += value;}while(value*2 < 1000);cout << "Age: " << year << endl;cout << "Last gift: " << value << endl;cout << "Total: " << total << endl;cin.get();return 0;
You might be interested in
A network administrator notices that some newly installed Ethernet cabling is carrying corrupt and distorted data signals. The n
MakcuM [25]

A network administrator notices that some newly installed Ethernet cabling is carrying corrupt and distorted data signals. The new cabling was installed in the ceiling close to fluorescent lights and electrical equipment

Two factors may interfere with the copper cabling and result in signal distortion and data corruption are :

EMI

RFI

Explanation:

  • EMI (electromagnetic interference) is the disruption of operation of an electronic device when it is in the vicinity of an electromagnetic field (EM field) in the radio frequency (RF) spectrum that is caused by another electronic device.
  • During EMC testing, radiated emissions measurements are made using a spectrum analyzer and or an EMI receiver and a suitable measuring antenna.
  • EMI (Electromagnetic Interference) is also called RFI (Radio Frequency Interference).
  • Conducted RFI is unwanted high frequencies that ride on the AC wave form. Radiated RFI is emitted through the air. There are many pieces of equipment that can generate RFI, variable frequency drives included.
  • The internal circuits of personal computers generate EM fields in the RF range.
3 0
3 years ago
Linguist study_____
-Dominant- [34]
That's B.

Linguist love all kinds of studies of languages culture writing etc.
6 0
2 years ago
Write a note on secondary storage​
slega [8]

Answer:  Storage devices are non-volatile devices. That means that when the power is removed from them, for example, when you switch your computer off, they retain their contents (unlike RAM, which is volatile – it loses its contents). You can then retrieve the contents next time you switch your computer on. Storage devices can be used to hold operating systems, applications and files, amongst other types of software. They are simply big suitcases – used only for storage. We have already seen that when you want to use an application kept on a storage device, it has to be moved to RAM before you can start using it. This applies to the operating system, your files and any other category of software. For this reason, RAM is sometimes known as Primary Memory whereas storage devices are often referred to as Secondary Storage devices.

8 0
2 years ago
Caden, Jacob, Lucas, and Michael, whose last names are Armstrong, Boothe, Gardner, and Robinson, live in four houses in a row.
Anit [1.1K]

Answer:

Jacob Gardner - Lucas Robinson - Caden Boothe - Michael Armstrong

Explanation:

According to clue 4, Lucas's house is not the first, and he has a house on his right, so it can only be house 2 or house 3. Therefore, Caden's house (which is on the right right of Lucas's), it can only be house 3 or house 4.

In turn, track 1 says that Michael's house is not next to Lucas's, so it can be 1 (if Lucas's house is 3) or 4 (if Lucas's house is in 2).

Track 2 says that there is a house before Michael's, which eliminates the possibility that Michael's house is number 1 (there would be no previous house). Thus, in addition, Lucas's house turns out to be 2 (Michael's house is not next door) and Caden's is 3, while Jacon's is house 1.

Jacob - Lucas - Caden - Michael

In turn, regarding surnames, clue 2 says that Robinson's house is after Gardner's and before Michael's. Thus, Robinson can be the last name of Jacob or Lucas, and Gardner that of Lucas or Caden. Now, since Boothe's house is just before Armstrong's, the order would be as follows:

Jacob Gardner - Lucas Robinson - Caden Boothe - Michael Armstrong

4 0
3 years ago
Write an if/else statement that compares the variable age with 65, adds 1 to the variable seniorCitizens if age is greater than
Oduvanchick [21]

if age >= 65:

seniorCitizens = seniorCitizens + 1

else:

nonSeniors = nonSeniors + 1

6 0
2 years ago
Other questions:
  • WordArt styles allow you to add ____.
    9·1 answer
  • What are 3 websites that talk about density of different gases, density in air, behavior of different gases of earth, convection
    13·1 answer
  • Which of the following is not a job title associated with a career in visual and audio technology? master control operator produ
    9·1 answer
  • What formatting option is easiest to read when printed out
    12·1 answer
  • You accidentally find someone's password and use it to get into a system. this is hacking.
    15·1 answer
  • You would like to enter a formula that subtracts the data in cell B4 from the total of cells B2 and B3. What should the formula
    10·1 answer
  • Which is a good example of kinetic energy
    14·2 answers
  • Jonathan is in the process of creating a photo of a fluttering flag with cars moving around in the background. He wants the flag
    13·2 answers
  • The objective of this task is to use Scapy to estimate the distance, in terms of number of routers, between your VM and a select
    7·2 answers
  • What ribbon command on the home tab can you use to change a cell fill color automatically
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!