Indents? Double Space? one of those
Answer:
Following are the code to this question:
please find the attached file.
Explanation:
In this code, four class "novels, magazines, technical journals, and textbooks", is defined, in which it holds their respective default constructor and the get and set method to hold the string and integer value, and in the book class the main method is defined, that creates its object and a switch to for search value and print its value.
192.168 suggests class C networks which have a 24 bit netmask (255.255.255.0) but you haven't provided enough info, like the netmask of a working machine, to be definite.
Answer:
The code to this question can be given as:
Code:
while ((s!="Y" && s!="y" && s!="N" && s!="n")) //loop for check condition
{
cin >> s; //insert value
}
Explanation:
The description of the following code:
- In this code, we use a string variable s that has been to define in question.
- In code, we use a while loop. It is an entry control loop in loop we check variable s value is not equal to "y", "Y", "n" and "N".
- In the loop we use AND operator that checks all value together. If this is true So, we insert value-form user input in string variable that is "s".
Answer:
Question is incomplete. it needs a topology diagram and also it needs Router R1 table. I assume User has access to the topology and Routing table.
Below Configuration will help to fix ACL problem
Hosts from the 172.16.0.0/16 network should have full access to Server1, Server2 and Server3 but this is not currently the case, as L1 can’t communicate to Server2 or Server3.
Explanation:
Following Configuration on Cisco Router R1 will help to fix all the ACL problems.
enable
configure terminal
no ip access-list standard FROM_10
ip access-list standard FROM_10
deny host 10.0.0.2
permit any
exit
!
no ip access-list standard FROM_172
ip access-list standard FROM_172
permit host 172.16.0.2
exit
!
interface GigabitEthernet0/0
ip access-group FROM_192 out
end
write memory
!