The program is a sequential program, and they do not require loops and conditions
<h3>The program design in Python</h3>
The complete program written in Python is as follows:
purchaseAmount = float(input("Amount: "))
stateSalesTax = 0.05 * purchaseAmount
provincialSalesTax = 0.02 * purchaseAmount
print("Amount:",purchaseAmount)
print("State sales tax:",stateSalesTax)
print("Provincial sales tax:",provincialSalesTax)
print("Total sales tax:",(stateSalesTax + provincialSalesTax))
print("Total sales:",(purchaseAmount + stateSalesTax + provincialSalesTax))
Read more about Python programs at:
brainly.com/question/26497128
#SPJ1
Answer:
3) 44 10 44
Explanation:
Given data
int [] val = { 3, 10, 44 };
The total number of parameters of given array are 3, so total length of array is also 3.
The indexing of array starts with '0', Therefore the <u>indexes</u> of array with length zero are: {0,1,2}
The value of array at index 0 is = 3
similarly
value at index 1 = 10
value at index 2 = 44
Any value of index 'i' of an array is selected using array[i].
Therefore,
val[0] is selecting the value of array located at index '0'.
val[0] = 3
val[2] is selecting the value of array located at index '2'.
val[2] = 44
Finally,
val[0] = val[2]; is copying the value placed at index 2 (44) to value placed at index 0 (3). Hence, the output would be { 44 10 44}. So 3rd option is correct.
Sorry I don’t understand your language I wish I could help you but I just don’t understand
Answer:
Open Task Manager and end the process associated with the application.
Explanation:
When using a computer installed with the Windows Operating system and an application is not responding to the mouse or keyboard input, you can end such application process without exiting other open applications by opening the task manager using the key combinations "CTRL + ALT + DEL". This would open the Task Manager showing all the open application and then you can end the process associated with the application that is not responding.