-
Write c++ program that read 10 numbers
1-write c++ program that read 10 numbers and print their sum, average, maximum, and minimum.
2-write a program that finds all number, dividable by 3 or 4 ranges from 1 to n .
3- write a program to calculate n! where n! =n * (n-1) * (n-2) * ...*(2) * (1).
-
Write c++ program that read 10 numbers
Write c++ program that read 10 numbers using while statement and print their sum, average, maximum and minimum ?
-
C++ conversion program
How can I write a program that convert a given number of millimeters into the equivalent length in meters and meters into the equivalent length in millimeters?Also draw flowchart,algorithm,output.
Static Polymorphism
What is Static Polymorphism? Give its syntax and simple example.
C++ Interface
Is it possible to create an interface in C++? If Yes, how?
Static and friend function in a class
Use of static and friend function in a class
Inheritance in C++
While doing inheritance in C++, one thing that is not inherited is what?
What is out put of C++ code?
cclass base
{
public:
virtual void display(int i = 10)
{
coutClasses
Why should you generally pass an object of the class to a friend function as a reference parameter?Choose one answer. a. if the friend function changes the values of the data member(s) b. if the friend function will not change the values of the data member(s) c. It is more efficient to pass the object by reference. d. A and B e. A and C
Function Linkage Mechanism
What is function linkage mechanism? Can inline function be used at run time? Why or why not?
Number in words
Write a program that takes an integer and displays the words number of that value. For example,
10->ten
121->one hundred twenty oneBasic program for banking in C++.
A program which includes account no.,user info,ID,PASS-WORD,user profile.
C/C++ black screen opens and closes
While executing a program in C++, it happens the black screen opens and closes automatically without displaying the output(program is correct). How to recover from this situation?
Function Resolution
Explain the resolution of a function by C ++ complier in the case of function overloading.
Ans