Answer:
#include <iostream>
using namespace std;
int main()
{
int userInput = 0;
do {
cout << "Enter a number (<100):" << endl;
cin >> userInput;
}
while(userInput >= 100);
cout << "Your number < 100 is: " << userInput << endl;
return 0;
}
Explanation:
Inside the <em>do part</em>, ask user to enter a number and get that number.
In the <em>while</em>, check if the number is greater than or equal to 100. It is going to keep asking to enter a number until a number that is smaller than 100 is entered.
Print out the number that is smaller than 100.
Answer:
Phishing
Explanation:
Phishing is a type of cyber attack in which the attacker masquerades as a trusted entity via e-mail and trick the recipient into clicking a malicious link that could steal user data including login details, credit card information e.t.c A phishing attack can have devastating effects such as Identity theft, Unauthorised purchase or stealing of funds on individuals.
The common types of phishing are<em>: Vishing, Smishing, Email Phishing, Search Engine Vishing, Whaling</em> e.t.c
I love Rakshya please accpect ma propoese
Answer:
The output is "Pasta"
Explanation:
Given
The attached code segment
Required
The output
The first line of the program implies that:
MyFavFood="Pasta"
This means that, the value of the variable MyFavFood is string "Pasta"
Next,
print (MyFavFood)
This prints the value of the variable MyFavFood which is "Pasta"
<em>Hence, the output is "Pasta"</em>