c++ programming Write a program which reads salaries of 10 employes of an organization. The program will, what the maximum salary is and what the minimum salary is
The company want each department to have its own subnet. In total, Prime Innovative Technologies CC have 240 employees. Each employee owns a computer. The anticipated growth of the company is to have 2400 employees by the year 2025.
All the employees must be able to communicate with each other within the company. The company’s HQ connects to the company’s ISP.
One of the branches is recommended to make use of a switched local network that have to connect the departments. Within this branch, you are therefore required to make use of VLANs.
As an expert in network administration, you have been hired by this company to design, configure and administer their needs.
Requirements:
1. Utilising Cisco Packet Tracer, design an appropriate detailed network topology for the company.
2. Name the factors that you will take into consideration in designing this network.
3. What are the goals and assumptions of your design?
5. You are required to use routing protocol(s) of your choice.
Your task is to develop a circular linked-list-based simulation of the Josephus problem. The simulation will be text-based. The user should be presented with a text-based menu asking him to enter the total number of people (n), the starting point (i), direction (clockwise/anti-clockwise), and number to be skipped (k).
Let’s take an example. • For n =15 (i.e. number of people is 15) • k = 2 (i.e. every 2nd person is killed) • starting point (i) = 1 • direction = clockwise
Initial scenario: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
After 1 st iteration: 1 3 5 7 9 11 13 15
After 2nd iteration: 3 7 11 15
After 3rd iteration: 7 15
After 4th iteration: 15 (15 remains in the end). The program stops here.
please give the right as given in the question and also show your output.
Q2/ Java Data Types Assignment?
Object [ ] = { “Java”, 1.23F, true, false, 23, ‘a’, ‘b’,
23.4F, 45.6F}; Write the Java Program to sum only the
float variables or any data type.
<modifier>* <type> <name> [= <initial_value>}, public class Foo ( 1 2 5) private int x; private float y 10000.0F; private String name "Bates Motel"; - Question2: According to Syntax in above, specify class attribute(s) and variables
Explain data normalization with examples.
For this program I want an exact output as I given in the sample numbers position should not be changed.
M, N = input('Enter M, N: ').split()
M, N = int(M), int(N)
matrix = []
for _ in range(M):
row = [int(x) for x in input().split()]
matrix.append(row)
K = int(input('Enter K: '))
values = matrix[0][:-1] + [x[-1] for x in matrix][:-1] + matrix[-1][::-1][:-1] + [x[0] for x in matrix][::-1][:-1]
values = values[-K:] + values[:-K]
output = matrix
idxs = [(0, j) for j in range(N)][:-1] + [(i, N - 1) for i in range(M)][:-1] + [(M - 1, j) for j in range(N)][::-1][:-1] + [(i, 0) for i in range(M)][::-1][:-1]
idx = 0
for i, j in idxs:
output[i][j] = values[idx]
idx += 1
for i in output:
for j in i:
print(j, end=' ')
print()
Sample Input 1
4 4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
3
Sample Output 1
13 9 5 1
14 7 11 2
15 6 10 3
16 12 8 4
Sample Input 2
3 4
1 2 3 4
10 11 12 5
9 8 7 6
2
Sample Output 2
9 10 1 2
8 11 12 3
7 6 5 4
Write a C# Sharp program to accept two.1 integers from user and check whether they .are equal or not
Demonstrate what are the other area where copy constructor is called using C++ programme.
Demonstrate how copy constructor is called during pass by value and return by value using C++ programme.