Answer:
See the program code below.
Explanation:
def cube_SA(edge):
edge = int(input("Enter the cube's edge: "))
sa = edge * edge * 6
print("The surface area is {} square units".format(sa))
cube_SA(4)
Best Regards!
<span>A numeric string is created by a cryptographic
algorithm, which is called a hash that is used to validity of a message or authenticity
of a document. The signature is verified by an algorithm that uses the stated
owner of the signature's public key to accept or reject the authenticity of a
signature. A certification authority's digital signature is used to verify the
authenticity of digital certificates and other documents in a PKI.</span>
Answer:
Option D
Explanation:
Complete question
A management information system is typically used by _____.
A. all levels of employees
B. company executives
C. upper-level managers
D. middle-level managers
Solution
A management information system is typically used by middle-level managers
Option D is the correct answer
Management information system (MIS) helps the middle managers to control the work across the various teams of organization.
Answer: (B) Branch cache
Explanation:
The branch cache is the process of cache the data from the given file and the wen server on the wide area network. In the WAN connection, the branch code is the type of functionality which basically allow the window to providing the remote user support in the network. The branch cache basically work on the two mode that are:
- The distributed mode
- The host mode
The branch cache is the one of the technology that intend the cache data for reducing the network traffic in the wide are network.
Therefore, Option (B) is correct.
Answer:
#here is code in python.
# read the food bill
tot_bill=float(input("Please enter the food bill:"))
# tax on food
tax=0.06
#choice for tip by user
choice=int(input("enter your choice for tip:(1 for 15%, 2 for 18% and 3 for 20% :)"))
// calculate the total food bill
if choice==1:
tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.15)
elif choice==2:
tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.18)
elif choice==3:
tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.2)
else:
print("invalid choice:")
#print the total food bill
print("total food bill is ",tot_food_bill)
Explanation:
Read the food bill from user and assign it to variable "tot_bill".Initialize the tax=0.06 (i.e. 6%) on the bill.Then ask user to give his choice for tip. if the choice is 1 then tip will be 15%, if 2 then 18% and if choice is 3 Then tip will be 20% of the bill.Calculate the total food bill and assign it to variable "tot_food_bill".
Output:
Please enter the food bill:100
enter your choice for tip:(1 for 15%, 2 for 18% and 3 for 20% :)2
total food bill is 124.0