Answer:
#here is code in python.
#read number of shares
num_share = int(input("Enter number of shares:"))
#read purchase price
buy_p = float(input("Enter purchase price:"))
#read sell price
sell_p = float(input("Enter sale price:"))
#total buying cost
buy_cost=buy_p*1.03*num_share
#total selling cost
sell_cost=sell_p*0.97*num_share
#if net profit
if(sell_cost>buy_cost):
print("After the transaction, you made " +str(sell_cost-buy_cost)+ " dollars.")
#if net loss
else:
print("After the transaction, you lost " +str(buy_cost-sell_cost)+ " dollars.")
Explanation:
Read the total number of shares from user.Then read buying price of a share and selling price of a share.Then calculate total buying cost including commission.Calculate total selling cost excluding the commission.If total buying cost is greater than total selling cost the print the profit else print the loss in the transaction.
Output:
Enter number of shares:10
Enter purchase price:10
Enter sale price:10
After the transaction, you lost 6.0 dollars.
Answer:
From the two IP addresses, 192.168.2.1 can be listed as the default gateway in local network devices.
The reason is that we are allocated with the ranges that are reserved for the local networks by RFC 1918.
These ranges are given as follows:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
Moreover the default gateway for a device can also be known by the commands ipconfig or ipconfig/all on the command prompt.
<h3>I hope it will help you!</h3>
Having a filling system and keeping a clean desk is good time management tips (True)
Your wrists should be low,relaxed and resting on the frame of the keyboard while typing (False)
A correctly formatted memo will have a complimentary closing? (False)
Which professional business memo part is keyed first?
D.) TO
to type a capital letter "T" the typist will hold the right shift key with the right little finger, and then strike "t" with the left pointer (first) finger. (True)
in a standard block style letter, key the date to print ___ from the top edge of the page
D.) Double space (DS)
A search engine can help link you to information on how to format a buisness letter. (True)
Answer:
- Scrape or remove food bits from the surface.
- Wash the surface.
- Rinse the surface.
-
Sanitize the surface.
- Allow the surface to air-dry.
Explanation: These are steps for cleaning and sanitizing.
The answer has to be true because everything makes sense