User inputs email. User inputs password , if password and username match user allowed through.If not password or email address is incorrect notification is shown - and there also may be a limit on the amount of attempts you have to get it right.
Answer:
switchboard
Explanation:
The option that he should implement would be a switchboard interface design. These design structures for graphic user interfaces use a single main page, large icons/buttons, a fixed navigation menu, and all the necessary functionality right in front of the user. This design is made with simplicity in mind in order to make it as easy as possible for a new user to pick up and efficiently and intuitively navigate the user interface. Therefore, since Calvin needs a simple yet professional design, this would be the best implementation.
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.
Big difference
Loops allow you to execute code multiple times while a condition is true
Functions allow you to “call” a snippet of code whenever you want, and you can pass it arguments that could affect the data it returns