Questions: 11 448

Answers by our Experts: 10 707

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 & Filtering

Design a class Cube which has following data members.

 Length

 Width

 Height

A) Define a Member function of class

 Set record () which sets record.

B) Also define following functions

 Volume () (friend function) which calculates volume of cube.

 Display () (friend function) which displays the data members and volume.

C) execute friend functions in main to execute different functionality


. The prize scheme software must have the following fea￾tures:

1. Registration Module

1. It Includes biodata entry.

2. First Name

3. Last Name

4. CNIC

5. Contact

6. Address

7. Challan No.

8. Challan No. is auto generated (i.e., use ++ operator) and it must be unique.

2. Monthly Installment Entry

In this module the clerk would enter the information. The record must be entered with CNIC 

(the clerk would enter the CNIC number and amount received). Every registered member must

pay the installment.

3. Lucky draw Module

This module should do a lucky draw. One member should be selected for the prize(free car) 

and the member should be selected from those members who are registered and paid the 

monthly installment ,members based on unique Challa No. the details of the winner must be 

shown.


Game Plan Fitness club requires a system that will help their members keep up to date with their BMI after each training session. The system will allow users to enter their weight and height and then calculate each member’s BMI, the system must determine their health status based on the BMI. Use the formula BMI=wieght/(height)^2 , assuming that height is entered in meters and weight is entered in kilograms. Create a function that calculate the BMI, and use a post test loop with weight of -1 to terminate the loop. 



BMI Health status

Less than 18.4. Underweight

Between 18.5 and 24.9. Healthy weight Between 25.0 and 29.9. Overweight Greater than 30.0 Obesity 


Write a function that, when you call it, displays a message telling how many times it has been called: “I have been called 3 times”, for instance. Write a main() program that ask the user to call the function, if the user presses ‘y’ the function is called otherwise if ‘n’ is pressed the program terminates.



Use the following program to find the scope as mentioned below: #include using namespace std; int square( int y ); // function prototype int main() { int x = 0; for ( x = 1; x <= 75; x++ ) // loop yourrollno times cout << square( x ) << endl; // calculate square of x and output results } // end main // definition of function square int square( int y ) { return y * y ; } // end function square For the program, state the scope (either function scope, global namespace scope, block scope or function-prototype scope) of each of the following elements: a) The variable x in main. b) The variable y in square. c) The function square. d) The function main. e) The function prototype for square. 


which contains a list of Annual (Gross) income records of employees in a firm, it should simply print the contents of the file in suitable format on the screen. (Fields (columns) to display in output are: lastname initial, FNPF#, age, GrossIncome and Resident) . Program then prints the list in ascending order of Gross Income. (Fields (columns) to display in output are: FNPF# and GrossIncome) [An algorithm to sort an array is given at the end of this project description Then the user is asked to enter the search initial. If there are employees who have that initial, program prints their record, otherwise a if no students have last names matching the search initial a “no matching record found” message is displayed.  The program then calculates and prints to a file IncomeTax.txt, the tax corresponding to the provided Gross Income and the Net Income.exit program


Prepare 5 mathematical functions (add , minus , multiply , divison , average) with two passing parameters and a return value for two numbers entered by the user. Display the result in following format.


Must include :

  • User input (firstnumber, secondnumber) -enter by user
  • User Result in (Addition, Minus, Multiply, Divide, Average)

Game Plan Fitness club requires a system that will help their members keep up to date with 

their BMI after each training session. The system will allow users to enter their weight and 

height and then calculate each member’s BMI, the system must determine their health status 

based on the BMI. Use the formula BMI=wieght/(height)^2 , assuming that height is entered 

in meters and weight is entered in kilograms. Create a function that calculate the BMI, and 

use a post test loop with weight of -1 to terminate the loop.

BMI Health status

Less than 18.4 Underweight

Between 18.5 and 24.9 Healthy weight

Between 25.0 and 29.9 Overweight

Greater than 30.0 Obesity


Game Plan Fitness club requires a system that will help their members keep up to date with their BMI after each training session. The system will allow users to enter their weight and height and then calculate each member’s BMI, the system must determine their health status based on the BMI. Use the formula BMI=wieght/(height)^2 , assuming that height is entered in meters and weight is entered in kilograms. Create a function that calculate the BMI, and use a post test loop with weight of -1 to terminate the loop.


The table below shows the BMI and Health status

BMI Health status

Less than 18.4 Underweight

Between 18.5 and 24.9 Healthy weight

Between 25.0 and 29.9 Overweight

Greater than 30.0 Obesity


Game Plan Fitness club requires a system that will help their members keep up to date with their BMI after each training session. The system will allow users to enter their weight and height and then calculate each member’s BMI, the system must determine their health status based on the BMI. Use the formula BMI=wieght/(height)^2 , assuming that height is entered in meters and weight is entered in kilograms. Create a function that calculate the BMI, and use a post test loop with weight of -1 to terminate the loop. 


LATEST TUTORIALS
APPROVED BY CLIENTS