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

# Create displayList

displayList = []


# Loop through the prices in levelsList.

# During each loop:

# - Create a variable called priceLevelLabel consisting of the text 'Price Level: ' followed

# by the price.

# - Add priceLevelLabel and the price as two separate items to a new list (the sub-List).

# - Append the sub-List to displayList.

for price in self.levelsList:

...


Write a program that enable one to key in any 4 numbers and determine their GCD.

Write a program to key in any four numbers and determine the G.C.D.

# Loop through the prices in levelsList.
# During each loop:
# - Create a variable called priceLevelLabel consisting of the text 'Price Level:    ' followed
#   by the price.
# - Add priceLevelLabel and the price as two separate items to a new list (the sub-List).
# - Append the sub-List to displayList.
for price in self.levelsList:
    ...

# Create a variable called previousPriceLabel consisting of the text 'Previous Price: ' followed
# by previousPrice.
# Add previousPriceLabel and previousPrice as two separate items to a new list (the sub-List).
# Append the sub-List to displayList.
...

# Create a variable called currentPriceLabel consisting of the text 'Current Price:  ' followed
# by currentPrice.
# Add currentPriceLabel and currentPrice as two separate items to a new list (the sub-List).
# Append the sub-List to displayList.
...




Code the classes Employee, Manager and Secretary. 2. Extra Code an application with a main method. In this class you must code an array o Employee with a maximum size of 20. a. b. c. Add a minimum of 10 objects to the array. You may hard The objects must be a mixture of Employee, Manager and Secretary. Display all the objects on the screen. Calculate, and then display, the average salary of all employees. Calculate and display the cost of the leave to the company for each employee. f type code these object values.
Code the classes Employee, Manager and Secretary. 2. Extra Code an application with a main method. In this class you must code an array o Employee with a maximum size of 20. a. b. c. Add a minimum of 10 objects to the array. You may hard The objects must be a mixture of Employee, Manager and Secretary. Display all the objects on the screen. Calculate, and then display, the average salary of all employees. Calculate and display the cost of the leave to the company for each employee. f type code these object values.
Code the classes Employee, Manager and Secretary. 2. Extra Code an application with a main method. In this class you must code an array o Employee with a maximum size of 20. a. b. c. Add a minimum of 10 objects to the array. You may hard The objects must be a mixture of Employee, Manager and Secretary. Display all the objects on the screen. Calculate, and then display, the average salary of all employees. Calculate and display the cost of the leave to the company for each employee. f type code these object values.
Program 6 – Employee rules Code the following program in Java. Only submit the source files. There will be many source files. Do not zip your project as it increases the marking time significantly. As a programmer, you must be able to follow precise instructions. You will also not always get precise instructions. You must learn to ask questions and make valid deductions of what is expected. In this problem, you must think about the problem and ways to represent the rules in Java classes. The coding is very simple and a repeat if what you have done before. The class diagram for the bases classes are depicted in the following diagram. Problem discussion Some of the rules that govern employee behaviour are as follows:  Most employees work 37.5 hours per week.  Most employees earn R50 000 per year. Managers earn R20 000 extra per year.  Most employees get 15 workdays leaves a year. Managers get an extra 3 days leave per year.  Secretaries must work 40 per week.  Everybody must apply for leave online.

Given an array

myArray, write a JS program to check whether each value of the array is a string or not using the array method every().Input

  • The input will be a single line containing an array myArray
Give a string writen a program to mirror the characters of the string in alphabetical order to create a secret message
LATEST TUTORIALS
APPROVED BY CLIENTS