Answer:
see explaination
Explanation:
Please find the screenprint and the VBA code. As shown in the screenprint, range B1 is used to enter the number of petals. If you want to use a different cell for petals input, then change the code accordingly.
Also, the VBA code is placed in the Sheet1 module. No new modules are inserted.
Screenprint: see attachment for screenshot
VBA Code:
Private Sub CommandButton1_Click()
Call daisyDecisions
End Sub
Private Sub daisyDecisions()
Dim remainder As Integer
Dim noOfPetals As Integer
noOfPetals = Sheet1.Range("B1").Value
remainder = noOfPetals Mod 2
If remainder <> 0 Then
MsgBox "He/She loves you!!!"
Else
MsgBox "He/She loves you not!!!"
End If
End Sub
The numbers of records that will be displayed in response to his query is known to be zero (0).
<h3>What is a query?</h3>
A query is known to be a kind of a question or any form of request that is known to be for information that is often expressed in a formal manner.
Note that a database query is one that can be seen as an action query or a a kind of select query.
A select query is one that can help to get back data from a database. based on the question, Jeremy is looking for a brown Tennessee walker and this is not among the option presented. Therefore the query will come back as zero.
Hence, The numbers of records that will be displayed in response to his query is known to be zero (0).
Learn more about query from
brainly.com/question/25694408
#SPJ1
Answer:
Explanation:
An FPGA is a field programmable gate array. It could be "programmed" to do certain task, but don't mistake it with a microprocessor. When programming an FPGA, you're actually changing it's physical structure, the logic gates inside the FPGA, to do the task for you. Therefore, unlike a microprocessor which has to run through a series of command, an FPGA could be rewired to run at a much faster and more efficient rate.
FPGA is good for testbenching and are budget friendly since they can be reprogrammed over and over again in case you messed up. However, they can be quite big and bulky, so they are not suitable for mass production.
ASIC in the other hand can be compact to a small size. ASIC are pretty much the IC chips that you use, like your Intel CPU or LM7000 series chips. However, the process of making them that small is irreversible, so if you messed up, you gotta throw away the whole batch. This make them expensive to make, but their small size and production process allows them to be made in bulk.
Both FPGA and ASIC are good for power consumption and speed because you're actually designing their physical circuit layout, so if your design is efficient then the product will be efficient in both speed and power as well.
In Summary, you design and test your circuit using an FPGA first. Then you send that design to a production company and they will use that design to mass produce it as a small chip.
Answer:
current_price = int(input("Enter the current price: "))
last_months_price = int(input("Enter the last month's price: "))
print("Current price is: " + str(current_price) + ", Last month's price was: " + str(last_months_price))
print("The change since last month is: " + str(current_price - last_months_price))
print("The estimated monthly mortgage is: " + str(current_price * 0.051))
Explanation:
Get the inputs for the current price and last month's price
Print the prices
Calculate and print the change, current_price - last_months_price, since last month
Calculate, using given formula, and print the estimated monthly mortgage