Answer:
Following are the program in the Python Programming Language.
#get input from the user length of the pizza
inputStr = input('Enter the length of pizza: ')
#convert input into float
L = float(inputStr)
#initialize the area of the pizza
A = L*L
#calculate the amount of peoples can eat pizza
men = int(A/100)
#print the number of peoples
print('\nPizza can be eaten by {} people'.format(men))
<u>Output</u>:
Enter the length of pizza: 20
Pizza can be eaten by 4 people
Explanation:
<u>Following are the description of the program</u>.
- Firstly, set a variable that get length input from the user.
- Set variable 'L' that convert the input from the user into the float data type.
- Set variable 'A' that stores the area of the pizza.
- Set variable 'men' that store the amount of peoples can eat pizza.
- Finally, print the number of peoples can eat pizza.
Answer:
Threat assessment
Explanation:
A threat assessment deals with the potential for weaknesses within the existing infrastructure to be exploited.
Threat Assessment is further explained as the practice of determining or ascertaining the credibility and seriousness of a potential threat, and also the probability or chases of the threat will becoming a reality.
Threat assessment is separate to the more established procedure of violence-risk assessment, which seek to forcast an individual's general capacity and tendency to respond to situations violently. Instead, threat assessment aims to interrupt people on a route to commit "predatory or instrumental violence, the type of behavior connected with targeted attacks".
Answer:
In database software a record is a group of related data held within the same structure.
Answer:
A Program was written to carry out some set activities. below is the code program in C++ in the explanation section
Explanation:
Solution
CODE
#include <iostream>
using namespace std;
int main() {
string name; // variables
int number;
cin >> name >> number; // taking user input
while(number != 0)
{
// printing output
cout << "Eating " << number << " " << name << " a day keeps the doctor away." << endl;
// taking user input again
cin >> name >> number;
}
}
Note: Kindly find an attached copy of the compiled program output to this question.