Answer:
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
double mexico = 114;
double usa = 312;
double mexicoRate = .0101;
double usaRate = .0015;
// calculate population after every year until mexico population exceed the usa populationn
while (usa>mexico)
{
// print the population
cout<<"Mexico's population ::"<<mexico<<" million."<<endl;
cout<<"USA's population ::"<<usa<<" million."<<endl;
// update the population
mexico+=mexico*mexicoRate;
usa-=usa*usaRate;
}
return 0;
}
Explanation:
Declare and initialize mexico and usa with their initial population.Also declare and initial their increase and decrease rate.Find the population of both the country each year until mexico population exceeds the usa population.
Output:
Mexico's population ::114 million.
USA's population ::312 million.
Mexico's population ::115.151 million.
USA's population ::311.532 million.
.
.
.
Mexico's population ::270.546million.
USA's population ::274.213 million.
Mexico's population ::273.278million.
USA's population ::273.802 million.
Answer:
B
Explanation:
The metadata is only the information in the background aka the info not directly given.
The answer & explanation for this question is given in the attachment below.
The engineer will need to set the distance to 130 for the static link so that it becomes a floating static route.
<h3>What is Floating static routes?</h3>
This is known to be a static routes that is said to have a kind of administrative distance that is also known to be bigger than the administrative distance of any other static route or dynamic routes.
Note that the value 130 stands for the next most logical value, nd as such it is to know that the right route comes first in the steps for administrative distance.
Learn more about WAN from
brainly.com/question/11352260