Why do we use setw in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is new in c++?
You run a shell on unix system. How would you tell which shell are you running?
What are the rules for naming an identifier?
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2.
What is data hiding c++?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
What is the type of this pointer in c++?
i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????
What is pointer -to-members in C++? Give their syntax?
how many rounds and wt type of questios ask in the written test for first round 2. tech. round 3. and futher rounds
What is the use of 'this' pointer?
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?