Answer:
#include<iostream>
using namespace std;
void main()
{
int townA_pop,townB_pop,count_years=1;
double rateA,rateB;
cout<<"please enter the population of town A"<<endl;
cin>>townA_pop;
cout<<"please enter the population of town B"<<endl;
cin>>townB_pop;
cout<<"please enter the grothw rate of town A"<<endl;
cin>>rateA;
cout<<"please enter the grothw rate of town B"<<endl;
cin>>rateB;
while(townA_pop < townB_pop)//IF town A pop is equal or greater than town B it will break
{
townA_pop = townA_pop +( townA_pop * (rateA /100) );
townB_pop = townB_pop +( townB_pop * (rateB /100) );
count_years++;
}
cout<<"after "<<count_years<<" of years the pop of town A will be graeter than or equal To the pop of town B"<<endl;
}
Explanation:
Answer:
Using a one time password OTP and using a three factor authentication.
Explanation:
Social engineering is a form system and network attack, drafted by an attacker, to steal user credentials needed for accessing their accounts, to steal information.
Social engineering attacks like phishing, spear phishing, baiting and quid quo pro are used to fool users to giving out their user details.
One time password is an implied use of a password just once and a new password his generated to boost security. In a three factor authentication, OTP can be used as well as biometrics of a user which can not be giving away by a user to an attacker.
Answer:
Option D: If it is the month of January, then the temperature is cool.
Explanation:
A conditional statement is the one having an if condition in it that says, if the condition is true proceed to the next statement, else not.
Given statements are:
- If it is the month of January, then it is winter.
This can be written as: if (January)⇒Winter
- If it is winter, then the temperature is cool.
This can be written as: if (winter)⇒ Temperature(cool)
So by combining both the statements, the winter clause will be connected and we get:
if(January)⇒Temperature (cool)
This can be written as:
- If it is the month of January, then the temperature is cool.
So, Option D is the correct answer.
i hope it will help you!
It is the Central Processing Unit (CPU)