STL (140)
OOPS (873)
C++ General (2409) Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.
1 1839Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
1 1647Identify the error in the following program.
include
Identify the errors in the following program.
#include
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
1217
What is an iterator?
What does obj stand for?
What is encapsulation c#?
Can you sort a set c++?
What are the different types of comments allowed in c++?
What is new in c++?
What are different types of loops in c++?
What is a function in oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is c++ map?
What is #include math h in c++?
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. please answer my question ....
What is a memory leak in C++?
How the programmer of a class should decide whether to declare member function or a friend function?
How would you use the functions memcpy(), memset(), memmove()?