Write a program that prompts the user to input two numbers—a numerator and a divisor. Your program should then divide the numerator by the divisor, and display the quotient and remainder without decimals.
Explanation:
The code below is written in python :
a=int(input("Enter the first number: "))
b=int(input("Enter the second number: "))
quotient=a//b
remainder=a%b
print("Quotient is:",quotient)
print("Remainder is:",remainder)
1. User must enter the first and second number .
2. The quotient is obtained using true division (// operator).
3. The modulus operator gives the remainder when a is divided by b.
Answer:
Option C is correct.
Explanation:
A Cisco Catalyst, listed from the following ports. Number of PCs linked to the minimum numbered connection, with the PCs running and transmitting data across the network. Not connecting another ports to any system. Port Fast Ethernet 0/5 is in a linked state that is shown by those of the status command of the show interfaces.
Other options are not appropriate with the following scenario.
Answer: star topology.
Explanation:
The layout of the way how the computers in a netword are interconnected is called network tipology.
Some types of network topologies are:
1) Point-to-point tipology: all the computers are connected to each other directly (computer-to-computer, in pairs, this is a direct link between each two computers).
2) Bus topology: all the nodes (computers or server) are connectect to a maing cable.
3) Star topology: all the computers are connected to a central computer or server which is called central hub. This is the layout described in the question.
4) Ring topology: the computers are connectec in a circular path; each computer is connected to the next computer.
5) Mesh: every computer is connected to every other computer.
Advanced technology extended