It depends on how far apart the 2 objects are from each other
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
Answer:
defines a class in terms of another class = inheritance
inherits the properties of a base class = derived class
provides only essential information to the world = data abstraction
binds data and functions together = encapsulation
Explanation:
In your inbox,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,..,.,
A special character is what is the 2nd key of the numbers on the top of your keyboard. Such as @#$%^&*. These are all special characters. Hope this helped :)