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:
Explanation:
To write a C program for the above problem:
#include <stdio.h>
int main()
{
// we define the variable to get the annual income
float AnIncome;
// to get the annual income from the user
printf("Enter your annual income here: ");
scanf("%f", &Anincome);
// This is the function to test the annual income
float printIt(x){
//we test the amount inputted now
if (x>= 90000){
printf("Congratulations on your income\n"); // This is the congratulatory message
}
if (x<=0){
// This statement is included to avoid putting zero as annual income
printf("Annual Income cannot be zero or less than zero\n");
}
else{
printf("You WILL make $90,000, if you keep going.\n");
}
}
printIt(AnIncome);
return 0;
}
Attached is the image for a flow chat for the program
Answer:
Explanation:
The Python program has been adjusted. Now the pizza ordering function is called from the main() method and not as soon as the file is imported. Also, the random package has been imported so that the random.randint(1,10) can correctly create the 5 random numbers needed. The code has been tested and the output can be seen in the attached image below, correctly matching the desired output.
import random
def pizza(meat="cheese", veggies="onions"):
print("You would like a", meat, "pizza with", veggies)
def main():
# Get the User Input
my_meat = input("What meat would you like? ")
my_veggies = input("What veggie would you like? ")
# Call the Function
pizza(meat=my_meat, veggies=my_veggies)
print("Your random numbers are:")
for i in range(5):
print(random.randint(1, 10))
# Call main function
main()