In a car race game, when a car object is created it should be filled with fuel, and placed at certain x,y coordinates. Once the game is over, all cars should be deleted ? How do you handle it using c++ classes. Write suitable c++ code
Deduce the integrated rate expression of 1st order reaction. Prove that the half life of 1 st order reaction is inversely proportional to K, the rate constant.
A charge of 20 x 10-6 C is 20 cm from another charge of 60 x 10-6 C. (a) Find the force between them. (b) Determine the Ep midway between them.
Four coins are tossed. Let A be the random variable representing the number
of heads that occur. Find the values of the random variable A.
Possible Outcomes
Value of the Random Variable A (Number of Heads)
Define a structure for electricity board, the structure members customer name, unit consumed, sub charge and total charge. Implement the C program to calculate charges of the following rates for the energy consume,
Number of Units Cost per Unit
· For the first 200 units Rs. 5 per unit
· For the next 100 units Rs. 8 per unit
· For the next and above 300 units Rs. 10 per unit
The users are charged a minimum of Rs. 200/- as meter charge, and then an additional surcharge of 5% of total amount is charged. Read the customer names and number of units consumed as input and display the customer name, sub charges and total charge
Input :
Gopinath
150
Output :
Customer Name: Gopinath
Sub Charge: 37.50
Total Charge: 987.50
Implement a C program for file operations to read a string from standard input and prints the entered string using fgets() and fputs() function.
Note: Create the text file, fstring.txt
Input :
Hai
Output :
Hai
Define a structure for electricity board, the structure members customer name, unit consumed, sub charge and total charge. Implement the C program to calculate charges of the following rates for the energy consume,
Number of Units Cost per Unit
· For the first 200 units Rs. 5 per unit
· For the next 100 units Rs. 8 per unit
· For the next and above 300 units Rs. 10 per unit
The users are charged a minimum of Rs. 200/- as meter charge, and then an additional surcharge of 5% of total amount is charged. Read the customer names and number of units consumed as input and display the customer name, sub charges and total charge
Declare the structure Employee, consisting of members variables are
emp_number, emp_name, department, salary and net_salary. Calculate
DA=20% of salary and display the information of an employee.
Three-point charges of 0.07uC and 0.24uC are 35 cm apart in air. What is the potential energy of the system?
Suppose Billy scored a 54 on his exam. The mean of the grade is 66 and the standard deviation is 3.what is the z score?