Answer:
Python script is given below
Explanation:
charge = float(input('Enter the amount you were charged. $'))
#setting the formula for tip and tax
tip = charge*.18
tax = charge*.07
#printing the values
print('Charge for the food: %.2f' % charge)
print('The tip amount: %.2f' % tip)
print('Tax amount: %.2f' % tax)
print('Total amount: %.2f' % (charge+tip+tax))
Answer:
The answer is (C)
Let’s run the algorithm on a small input to see the working process.
Let say we have an array {3, 4, 1, 5, 2, 7, 6}. MAX = 7
- Now for i=0, i < 7/2, here we exchange the value at ith index with value at (MAX-i-1)th index.
- So the array becomes {6, 4, 1, 5, 2, 7, 3}. //value at 0th index =3 and value at (7-0-1)th index is 6.
- Then for i=1, i < 7/2, the value at index 1 and (7-1-1)=5 are swapped.
- So the array becomes {6, 7, 1, 5, 2, 4, 3}.
- Then for i=2, i < 7/2, the value at index 2 and (7-2-1)=4 are swapped.
- So the array becomes {6, 7, 2, 5, 1, 4, 3}.
- Then for i=3, i not < 7/2, so stop here.
- Now the current array is {6, 7, 2, 5, 1, 4, 3} and the previous array was{3, 4, 1, 5, 2, 7, 6}.
Explanation:
So from the above execution, we got that the program reverses the numbers stored in the array.
Quy trình kinh doanh, phương pháp kinh doanh hoặc chức năng kinh doanh là một tập hợp các hoạt động hoặc nhiệm vụ có liên quan, có cấu trúc bởi con người hoặc thiết bị, trong đó một trình tự cụ thể tạo ra một dịch vụ hoặc sản phẩm (phục vụ một mục tiêu kinh doanh cụ thể) cho một khách hàng cụ thể.
Answer: PowerPoint has a free, built-in service for broadcasting online.
Explanation:
The statement that's true about the broadcast of a slideshow online is that PowerPoint has a free, built-in service for broadcasting online.
Option 1 is wrong as all transitions are not properly displayed to the audience when broadcasting online.
Option 2 is wrong as broadcasting as slideshow online is an option for most PowerPoint users.
Option 3 is wrong because when broadcasting online, third party desktop sharing software isn't necessarily an option and it isn't a must that it must be used.
Therefore, the correct option is 4.