1. Write a C++ program to print "Welcome".
2. Write a C++ program to print "Object Oriented Programming".
3. Write a C++ program to print the following:
a) Variables
b) Constant
4. Write a C++ program to print the following
1. int
2. char
3. float
4. double
5. Write a C++ program to get a number from the user and print the same
6. Write a C++ program to get a name from the user and print the same
7. Write a C++ program to print the following
Enter your friend's name:
Your friend's name is:
Enter your friend's roll number:
Your friend's roll number is:
8. Write a C++ program to add two numbers. (Constant method)
9. Write a C++ program to get two numbers from the user and add them to produc
Answers
Answered by
0
Explanation:
2)Object-oriented programming (OOP) languages are designed to overcome these problems.
The basic unit of OOP is a class, which encapsulates both the static attributes and dynamic behaviors within a "box", and specifies the public interface for using these boxes. Since the class is well-encapsulated (compared with the function), it is easier to reuse these classes. In other words, OOP combines the data structures and algorithms of a software entity inside the same box
mark me brainliest answer and follow me
Similar questions