Mr. Tunan needs a directory that contains the following information.
(a) Name of a person
(b) Address
(c) Telephone Number
(d) Mobile Number
(e) Head of the family
He also needs a functionality to search the information of any person. Now develop a solution
using C++ for Tunan where you need to use a constructor to insert the information and a friend
function to show the output.
Develop a program by creating an 'Employee' class having the following functions and print the
final salary.
1 - 'getInfo()' which takes the salary, number of hours of work per day of employee as parameters
2 - 'AddSal()' which adds $10 to the salary of the employee if it is less than $500.
3- 'AddWork()' which adds $5 to the salary of the employee if the number of hours of work per
day is more than 6 hours.
NAVANA LIMITED has imported 50 new TOYOTA COROLLA CROSS.
So, the Managing Director has instructed the concerned department to keep all the information
of these 50 cars for future development and statistics. For that reason, the GM of Sales and
Marketing department has marked out the mandatory information which are Customer_Name,
NID_Number, Purchase_Date, Engine_No, Registration_No. Also, they want some
functionality which are like inserting the information, showing all the sold list of Car and
Changing the ownership of the car. Now develop a solution using C++ to help NAVANA
LIMITED implementing this system following the below instructions.
Create a class called 'Matrix' containing constructor that initializes the number of rows and the
number of columns of a new Matrix object. The Matrix class has the following information:
1 - number of rows of matrix
2 - number of columns of matrix
3 - elements of matrix (You can use 2D vector)
The Matrix class has functions for each of the following:
1 - get the number of rows
2 - get the number of columns
3 - set the elements of the matrix at a given position (i,j)
4 - Adding two matrices.
5 - multiplying the two matrices
You can assume that the dimensions are correct for the multiplication and addition.
An egg distribution company uses different sizes of packings for eggs, that is, 30 eggs packing, 24 eggs packing, 18 eggs packing, 12 eggs packing and 6 eggs packing. Write a program which prompts user to enter total number of eggs (input validation is always must) to be packed and then calculate how many packings of each size will be possible. Also tell if there will be any eggs left to be packed. (10 marks)
a. Using the provided information below,
x=33.2, x2=131.67, y=30.78 , y2=116.52 , xy=119.8 , and n=10
i. Find the sample correlation coefficient r
ii. Find the co-efficient of determination
Dear Sir
Nice blog here! Also your site loads up fast! What web host are you using? Can I get your affiliate link to your host? I wish my website loaded up as fast as yours lol
Join here:
https://cutt.ly/RAnUrhT
Eugene
1. A certain store has four ways of handling returns: cash refund, credit to account, exchange, or refusal. The manager claims that the four ways are equally probable.to test this hypothesis, 108 customers were sampled with the following results
Type Cash Credit exchange Refusal
Count 34 27 32 15
Does the data support the manager’s claim at 5 %.
Combination and oxygen produced carbon dioxide and water which is given by the chemical reaction formula C4H10+CO2>CO2+H20
thermochemical equation of One mole ammonium nitrate (NH4NO) dissolves in water to produce aqueous ammonium ions and nitrate ions accompanied by the absorption of 28.1kJ of heat.