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
GrogVix [38]
3 years ago
9

Brooke is trying to save enough money in the next fifteen months to purchase a plane ticket to Australia. Every month Brooke sav

es $100. Write a for loop that displays how much money Brooke will save at the end of each month for the next 15 months.
Computers and Technology
1 answer:
vlada-n [284]3 years ago
4 0

Answer:

This program required for loop and three variables are declared and initialized. then for loop is use to calculate the saving of 15 months.

The description of each line of code is given below in explanation section. However, it is noted that this program is implemented in C++ programming language using Dev C++.

Explanation:

#include <iostream>

using namespace std;

int main()// program started

{

int totalSaving=0;// total saving at the end of each month  

int monthlySaving=100;// each month saving  

int totalMonth2Save=15;// total month in which he can save

 

for (int i=1; i<=totalMonth2Save;i++)// for loop to count saving for 15 month

{

 totalSaving= totalSaving + monthlySaving;// add the saving of each month into total saving

 

}

cout<<"Total saving at the end of 15th month is ";// display the message  

cout<<totalSaving;//of total 15 month saving  

cout<<"$";// show the currency symbol

 

return 0;

}

You might be interested in
In data flow diagrams, an individual who originates data is:
NemiM [27]
B. A data source is the answer. Hope it’s right.
3 0
4 years ago
I have a question about a hotel tv:
UNO [17]

1 Open the back cover of the Nintendo Switch Dock.

2 Connect the USB plug from the Nintendo Switch AC adapter (model No. ...

3 Connect one end of the HDMI cable into the bottom terminal of the dock labeled "HDMI OUT," then connect the other end into an HDMI port on your television or monitor.

                                                                                                   your welcome

3 0
3 years ago
Computer viruses often spread by means of what?
lozanna [386]
Email attachments hope this helps
8 0
3 years ago
Read 2 more answers
Which of the following statements best explains how the high-gain antenna in Voyager probes has made outer space exploration eas
Alina [70]
The answer is (D) It can send data to Earth.

The High-Gain Antenna on the voyagers transmits data back to earth on 2 frequency channels. One channel transmits at about 8.4ghz and is in the X-band channel that contains engineering data. The other channel transmits data at around 2.3ghz and is in the S-band.






8 0
3 years ago
Select all that apply.
cupoosta [38]
<span>Numbered lists should not be used
</span><span>Choose font colors that work well with your background.
</span>
4 0
3 years ago
Read 2 more answers
Other questions:
  • 50+ POINTS AND BRAIN IF CORRECT Chris is working with other employees on a worksheet. The other employees have made comments, bu
    8·1 answer
  • What helps in determining the reliability of a person to repay debt?
    12·2 answers
  • The set of appearance choices for files and folders is known as the
    7·1 answer
  • Două numere a și b sunt numite generatoare ale unui număr natural n dacă a∙b+[a/b]=n, unde s-a notat cu [c] partea întreagă a nu
    7·1 answer
  • Identify the false statement.
    8·1 answer
  • What does a proxy server do?
    5·2 answers
  • A student that earns a well qualified score on an ap exam would receive a ___
    13·1 answer
  • What is booting as used in computers?​
    13·2 answers
  • If a file you are opening for appending does not exist, the operating system will detect the missing file and terminate the oper
    14·1 answer
  • What is analog computer? where is it used​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!