Hi, you haven't provided the programing language, therefore, we will use python but you can extend it to any programing language by reading the code and the explanation.
Answer:
n1 = int(input("First numeber: "))
n2 = int(input("Second numeber: "))
for i in range(5):
r1 = n1%10
r2 = n2%10
print(r1+r2)
n1 = n1//10
n2 = n2//10
Explanation:
- First, we ask for the user input n1 and n2
- We create a for-loop to calculate the sum of each place-value of two numbers
- We obtain the last number in n1 by using the mod operator (%) an the number ten this way we can always take the last value, we make the same for n2
- Then we print the result of adding the last two numbers (place value)
- Finally, we get rid of the last value and overwrite n1 and n2 to continue with the process
If i remember correctly from class, it’s c. the depth of a node
Answer:
D. maintaing a task list
Explanation:
if Brenda makes a task list she can see what all she needs to do everday.
Answer:
The USB port
Explanation:
USB port is a connection interface for computers and other electronic devices via cable. It is a standard established in 1996 for short distance communication.
USB means <em>Universal Serial Bus</em>. There are four versions till now: USB1, USB2, USB3 and USB4.
USB ports can <em>connect</em> computers with variety of devices like printers, projections, mobile devices, scanners.
Answer:
C) someThing.someMethod( )
Explanation:
The methods in a class can be accessed outside the class (assuming they are public methods and not private to the class) by using the dot(.) symbol and calling the method on the instance or object of the class.
In this case, the object of the class someThing, calls the method, someMethod( ) by using a dot and the name of the method with a parentheses at the end. This enables the code in the method act on the class instance or object.