Programming
a. Create class name Employee
b. add the attributes: firstName, LastName, MiddleName, Age, Company,Salary and
IDNumber
c. create a getters and setter for the class
d. add constructors (with and without parameters)
e. add function in your class name it DisplayInfo to display all details of the employee
f. add a function name it SalWithVat, to calculate the salary with 12% tax deduction.
g. Create main class to test your Class
A sample of 0.892 g of potassium chloride (KCl) is dissolved in 54.6 g of water (H2O). Determine the percent mass of KCl in the solution and its molality if the molar mass of KCl is 74.5513 grams per mole.
A sample of 0.892 g of potassium chloride (KCl) is dissolved in 54.6 g of water. What is the percent by mass of KCl in the solution?
A sample of 0.892 g of potassium chloride (KCl) is dissolved in 54.6 g of water. What is the percent by mass of KCl in the solution?
The density of a 2.45 M aqueous solution of methanol (CH3OH) is 0.976 g/mL. What is the molality of the solution? The molar mass of methanol is 32.04g.
A 5m³ tank contains helium at 380k and is evacuated from atmospheric pressure to a pressure to a pressure of 700mmHg vacuum.
Determine:
a. Mass of helium remaining in the tank
b. Mass of the helium pumped out
c. The temperature of the remaining helium falls to 8³, what is the pressure in kPa?
create a c-program that shows the comparative values of the elements of arithmetic, geometric and harmonic progression in table. inputs include a1-first term, d or r - common difference or ratio, and n-number of terms or elements
The market demand and supply schedule for commodity X is as follows:
Qd=2000 -60 P and Qs=400 + 40P
What is the equilibrium price (RS) and quantity (Units) demanded for on the Market. Use a Diagram.
You have ice at 263 K (-10.00°C) and 1.0 atm. What could you do to make the ice sublime
An unstretched spring is 10 ft long. A pull of 40 lb stretches the
spring by ½ ft. Find the work done in stretching the spring from
10 ft to 14 ft.
Write one dimensional array C++ program that ask to the user to enter the array size and reads n integers, finds the largest of them, and count its occurrences. Suppose that you entered 100, 200, 100, 50, 50, 50 as shown in sample input/output. The program finds that the largest is 200 and that the occurrence count for 200 is 1.
Question 1: Student
Write the class definition for a Student class that contains four private data members:
Ø An int studNum to store the student number.
Ø A string studFirstName to store the student’s first name.
Ø A string studSurname to store the student’s surname.
Ø A one dimensional array subjectCode of type string that hold the five subjects that the student is registered for.
Ø A parallel array to the subject code array called finalMark that holds the final mark that the student obtained for the subject stored in the subject code array.
Ø A double overallAverage that will hold the overall average that the student has obtained for all the subjects that he/she is registered for.
A closed rigid container into ally at 0c has a pressure of 375 torr find the pressure in tire when it’s temperature rises to 50c?