Write a program that displays the following table (note that 1 millimeter is 0.039 inches):
Millimeters Inches
2 0.078
4 0.156
…
96 3.744
98 3.822
Design a base class staff (staffno, name, salary) and two derived classes as teaching staff(subject) and nonteaching staff(post). Write necessary member function to accept and display information of all staff members
Write a program that prompts the user to enter the day number of a week and hours passed, and displays the day and remaining hours. For example, if the user entered day number 2 and hours passed 4, the program should display Today is Monday and Remaining Hours: 20. If the user entered day number 7 and hours passed 12, the program should display Today is Saturday and Remaining Hours: 12
Using a while loop write a program that will ask the user to input 5 positive numbers then the program will calculate the sum Ang display all odd numbers the calculate the sum of all odd and even numbers entered
Sample output:
Please enter 5 positive numbers: 1 14 2 13 3
The odd numbers are: 13 3
The sum of odd numbers is: 16
The sum of all numbers is: 33
A, B and C are on a betting game. B loses Php 350 of his money to A. As a result, A now has twice as much as what is left with B. Then, C loses Php 700 to B. As a consequence, C now has only one-third as much money as B would then have. If A has loses Php 210 to C, C will have as much as money as A would have left. How much did each have at the start?
Write a two dimensional array program that reads student scores and then assigns grades based on the following scheme:
Grade is A if score is > = 90;
Grade is B if score is > = 80;
Grade is C if score is > = 70;
Grade is D if score is > = 60;
Grade is F otherwise.
The program prompts the user to enter the total number of students, then prompts the user to enter all of the scores, and concludes by displaying the grades.
Disposable income is the income earned ?
1. Explain the concept of emotional awareness.
two incandescent lights are chosen at random from 19 lights of which 4 are defective. Find the probability that (a) none is defective? (b) exactly one is defective?
Explain the concepts of self-knowledge and self-awareness.