Answer:
Idk the language of code but here is how it would be done in python
myAlarm():
arm = True
code = "secret message"
myAlarm()
main():
deactivate = input(">>> ")
if deactivate = myAlarm.code:
arm = False
Im still a little confused on the question.
(I am a game designer and I code daily)
Answer:
A Program was written to carry out some set activities. below is the code program in C++ in the explanation section
Explanation:
Solution
CODE
#include <iostream>
using namespace std;
int main() {
string name; // variables
int number;
cin >> name >> number; // taking user input
while(number != 0)
{
// printing output
cout << "Eating " << number << " " << name << " a day keeps the doctor away." << endl;
// taking user input again
cin >> name >> number;
}
}
Note: Kindly find an attached copy of the compiled program output to this question.
<span>BCD only goes from digit 0 (0000) to digit 9 (1001), because for 10 you need two digits, so all you've got to do is make a function that produces high for numbers from 10 (1010) to 15 (1111) as follows:
A3 A2 A1 A0 F
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
...........................
1 0 0 0 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
Then simplify the function:
F = A3*A2 + A3*A1
Finally just draw or connect the circuit using NAND</span>
Public key and private key - In public key encryption, a pair of keys is used (public key and private key). The public key can be made available publicly, while the private key is only known by the owner. The public key is used to encrypt the message, while the private key is used to decrypt the message.
Learning
planning
designing
developing
testing delivering