Answer:
bill = float(input("Enter the bill amount: "))
rating = int(input("Choose a rating: 1 = Totally satisfied, 2 = Satisfied, 3 = Dissatisfied.: "))
if rating is 1:
tip = bill * 0.2
elif rating is 2:
tip = bill * 0.15
elif rating is 3:
tip = bill * 0.1
print("The rating is: " + str(rating))
print("The tip is: $%.2f" % (tip))
Explanation:
*The code is in Python
- Ask the user for the <em>bill</em> and <em>rating</em>
- Depending on the <em>rating</em>, calculate the <em>tip</em> using <u>if else</u> statement i.e. If the rating is chosen as 1, calculate the tip by taking 20 percent of the bill.
- Print the <em>rating</em> and the <em>tip</em>
Answer: That due to the specific tasks that needs to be accomplished by each program to make an all encompassing program would be inefficient and full of bugs
Explanation: try to do something along those lines ex why would MySQL be used to check your essay for grammar the tasks are on opposite spectrums
The first finger on the left (Index) is choice "2" (1,Q,A,Z)
The second finger on the right (Middle) is choice "4" (8,I,K)
The first finger on the right (Index) is "3" (7,U,J,M
Which leaves choice "1" (3,E,D,C)
Hope this helps
<u>Answer:</u>
<em>In a cross-site request forgery, browser </em><u><em>Link</em></u><em> help send a forged HTTP request.</em>
<u>Explanation</u>:
<em>CSRF is a kind of attack which compels the user to click on the unwanted links </em>or make him to perform some actions on the browser which the user is not intended to do so.
<em>They mainly target on Change request such as fund transfers, modifying their mail id’s etc</em>.
So they do all things by knowing Social engineering tricks and transfer the control of the <em>user to one another application created by the hackers and obtain the information and it is not just for theft of data.
</em>