Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Given any whole number from user input, check whether it’s a positive or negative number. If the number is negative then increment it by 3 and multiply the result by 4, however if it’s a positive number then decrement by 4 and multiply it by 3. a) Create a flowchart to be followed to solve the above task b) Create a java program using your flowchart and see samples below Sample run 1: Enter a whole number: 4 Output: The Number 4 is above zero hence, Result of the calculations = 0 Sample run 2: Enter a whole number: -5 Output: The Number -5 is below zero hence, Result of the calculations = -8


Let G(x) = x5

+ x4

+ x + 1 be the polynomial generator(pattern) and Message(M) =

11100011. Find the CRC for this message and the codeword.
Show [x + y/(rs/t) - u] in 3 address, 2 address and 1 address instruction format.

Most employees earn R50 000 per year. Managers earn R20 000 extra per year. ► Most employees gjet 15 workdays leaves a year. Managers get an extra 3 days leave per year. Secretaries must work 40 per week.

Employee -name: String EmployeeDeconstructors +Employee(String) ceconstructor +oString(): String setName(String) : void + getName(): String +gotSalary(): double "getHours(): double *getteaveDays(): int HeaveApplication); void +rkl): 1. Code the classes Employee, Manager and Secretary. 2. Code an application with a main method. In this class you must code an array of type Employee with a maximum size of 20. a. Add a minimum of 10 objects to the array. You may hard-code these object values. The ob ects must be a mixture of Employee, Manager and Secretary. b. Display all the objects on the screen. Calculate, and then display the average salary of all employees. Extra Calculate and display the cost of the leave to the company for each employee.


You have been asked to write a simple question and answer programme. There is only one question to answer: "What is the capital of France".


The programme should ask the user this question, then prompt for a response.


The user then types in an answer.


If the answer is correct, the programme should tell the user that their answer was correct.


If the answer is incorrect, the programme should tell the user that their answer was wrong.


Given two strings inputString and subString as inputs, write a JS program to slice the inputString if it includes the subString. Slice the inputString starting from the subString to the end of the inputString.

Write a program that has both height restrictions and an age restriction . To gain admission to the ride you need to be 0.6 feet and your age should be 5 or above


How can i store a funktion display that test a prime, next prime, previous prime display prime, and exit. Then add function call to display_menu in main function.


Given an array

mart of objects in the prefilled code and categoryOfItem, item as inputs, create a JS promise, resolve with "Item Found" text, if the

categoryOfItem matches with the category and the corresponding items list includes the itemreject with "Category Not Found" text, if the

categoryOfItem does not match with any category in the martreject with "Item Not Found" text, if the

items list does not include itemUse async/await and try/catch blocks.


The media company "GlobalAd" has received a
batch of advertisements from different product
brands. The batch of advertisements is a
numeric value where each digit represents the
number of advertisements the media company
has received from different product brands.
Since the company banners permit only even
numbers of advertisements to be displayed, the
media company needs to know the total
number of advertisements it will be able to
display from the given batch.
Write an algorithm to calculate the total
number of advertisements that will be
displayed from the batch.
Input
The input consists of an integer batch,
representing the batch of advertisements
Output
Print an integer representing the total number
of advertisements that will be displayed by the
media company
Constraints
0 < batchs 109​
LATEST TUTORIALS
APPROVED BY CLIENTS