I want to pass all the test cases
Sample Input 1
200
3Sample Output 1
570Sample Input 2
180
1Sample Output 2
180"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString.trim().split("\n").map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
/* Please do not modify anything above this line */
function main() {
const dayCharge = JSON.parse(readLine());
const days = parseInt(readLine());
/* Write your code here */
}
Programming
Write a program that calculates and prints
the take-home pay for a commissioned sales
employee. Allow the user to enter values for the
name of the employee and the sales amount
for the week. Employees receive 7% of the
total sales. Federal tax rate is 18%. Retirement
contribution is 15%. Social Security tax rate is 9%.
Use appropriate constants. Write input, display,
and calculation methods. Your final output should
display all calculated values, including the total
deductions and all defined constants.
Department Number of Users
Customer Care 10
Sales and Marketing 20
Finance 25
Legal 5
HR 10
Developers 55
Network Team 5
Server Room
Servers +ISP connections
· High level of redundancy is expected in network design to eliminate single point of failures and traffic bottle necks.
· Sales and Marketing Team need to access Network resources using WIFI connectivity.
· Proper methods for networking monitoring and troubleshooting need to be established.
· All possible network security mechanisms should be implemented.
1.Prepare a written network design plan to meet the above mentioned user requirements including a blueprint drawn using a modeling tool. (Ex: Microsoft Visio, EdrawMax).
2.Support your answer by providing the VLAN and IP subnetting scheme for the above scenario and the list of devices, network components and software used to design the network for above scenario and while justifying your selections.
How to create a webpage
Department Number of Users
Customer Care 10
Sales and Marketing 20
Finance 25
Legal 5
HR 10
Developers 55
Network Team 5
Server Room
Servers +ISP connections
· High level of redundancy is expected in network design to eliminate single point of failures and traffic bottle necks.
· Sales and Marketing Team need to access Network resources using WIFI connectivity.
· Proper methods for networking monitoring and troubleshooting need to be established.
· All possible network security mechanisms should be implemented.
Recommend suitable network topologies for above scenario and justify your answer with valid points. (with using the brief)
A, e, i, o, u?
by CodeChum Admin
Instructions:
Input
Multiple lines containing a character on each.
c
f
a
Output
Multiple lines containing a character on each.
c
f
a
Write a program to computer the are of a circle,(A=ñr2,ñ=3.14
Write a program that determine the magic word (if the input number is 143,it displays I LOVE YOU else I HATE YOU).
Huge Integers
Design a class that can handle arbitrarily large integers (using strings) that otherwise do not fit in a primitive type. A string will be treated as an integer if it contains all numeric type characters only. A sign indicating positive or negative integer may precede the string e.g. “-123456789009876543210”. Provide support for basic arithmetic and relational operations (using operator overloading) that include:
addition: + and ++ (both pre and post increment versions)
subtraction: - (binary as well as unary) and -- (both pre and post increment versions)
multiplication
division
comparison operators: ==, <, >