Explain the purpose of the keyword volatile.
No Answer is Posted For this Question
Be the First to Post Answer
Can we get the value of ios format flags?
Explain virtual destructor?
What is the basic difference between C and C++?
What are c++ templates used for?
Program to check whether a word is a sub-string or not of a string typed
What are the popular tools used to detect memory leaks in c++
why is c++ called oops? Explain
How to write Multithreaded applications using C++?
2 Answers Honeywell, TCS, Wipro,
What is constructor in C++?
Difference between pointer to constant vs. Pointer constant
What is the full form of india?
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.