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
strojnjashka [21]
4 years ago
15

C#

Computers and Technology
1 answer:
blagie [28]4 years ago
7 0

Answer:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

namespace Population

{

class Program

{

static void Main(string[] args)

{

int currentYearPopulation,numberYears;

double growthRate,population;

population = 0.0;

Console.Write("Enter the current year population: ");

currentYearPopulation = Convert.ToInt32((Console.ReadLine()));

Console.Write("\nEnter the number of years: ");

numberYears = Convert.ToInt32(Console.ReadLine());

Console.Write("\nEnter the annual growth rate: ");

growthRate = Convert.ToDouble(Console.ReadLine());

population = currentYearPopulation;

Console.WriteLine("\n\nYear\tPopulation");

Console.WriteLine("------------------------");

for (int i = 1; i <= numberYears; i++)

{

Console.Write(i+"\t");

Console.WriteLine(Math.Round(population));

population = population + population * (growthRate/100);

}

Console.ReadKey();

}

}

}

You might be interested in
Other side for bullying
almond37 [142]
I'm not exactly sure what you mean by this could you elaborate?
4 0
3 years ago
How do i recover a google account that was deleted?
Daniel [21]

Answer:

Just change your password

Explanation:

go to google account recovery and put in your old username and password if it has been a long time it might not come back. Or you can just change your password

7 0
3 years ago
______ provide visual representations of the options available for a given command
anygoal [31]

The visual representations is provided by the Gallery in the computer system.

Basically, gallery means the collection of pictures in a Computer.

  • Gallery is what enables systematic display and the management of distinct images in the computer.

  • A very good illustration is use of Clipart images. It is a ready made picture gallery available in the computer.

  • Every function on computer are represented with an icon, the icon images are enable through the Gallery.

In conclusion, the Visual representations of the options available for a given command is provided by the Gallery.

Read more about Gallery here

<em>brainly.com/question/2946480</em>

5 0
3 years ago
Can you block someone on Brainly?
dexar [7]
Yes, you can! If they are bothering you I would recommend you report them first. Check out this Brainly article https://brainly.in/question/1233133 :-)
8 0
3 years ago
Read 2 more answers
if a network security professional wants to connect some computers in the same building without it using a router what type of n
marta [7]

Answer:

 the MAC addresses of wireless NICs

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • 6:57 47minutes before
    15·2 answers
  • Can somebody help me with this problem
    10·1 answer
  • You have found an old dusty computer in your basement that you can identify as an original IBM PC. You ask your friend if he kno
    15·1 answer
  • 12. In Microsoft Word, when you highlight existing text you want to replace, you are in A. basic mode. B. automatic mode. C. ins
    10·2 answers
  • Where would you look to see how much space is available on your c drive?
    8·1 answer
  • What advantages do fiber optic cables offer over twisted pair or other media choices?
    8·1 answer
  • Where is the bios in the soft ware or hard ware
    13·2 answers
  • What additional information could you add to a sketch to provide other team members with a more accurate design drawing?
    9·1 answer
  • Which VPN topology is also known as a hub-and-spoke configuration?
    15·1 answer
  • List three natural defects of wood<br>​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!