|
21 | 21 | 8. Learn to ask GOOD questions to others:
|
22 | 22 | - G: Give context on what you are trying to do, clearly describing the problem.
|
23 | 23 | - O: Outline the things you have already tried to fix the issue.
|
24 | | - - O: Offer your best guess as to what the problem might be. It helps the person who is helping you not only know what you're thinking, but also know that you've thought of something yourself. |
| 24 | + - O: Offer your best guess as to what the problem might be. It helps the person who is helping you not only know what you're thinking but also know that you've thought of something yourself. |
25 | 25 | - D: Demonstrate what's going on. Include the code, the tracing error message, and an explanation of the steps you followed that resulted in the error. That way, the person helping doesn't have to try to recreate the problem.
|
26 | 26 | ```
|
27 | 27 |
|
|
46 | 46 | - [learncpp.com](https://www.learncpp.com/)
|
47 | 47 |
|
48 | 48 | ## Problem Solving
|
49 | | -1. 1.C++ Program to print "Hello, World!". |
| 49 | +1. C++ Program to print "Hello, World!". |
50 | 50 | 2. C++ Program to print an integer entered by the user.
|
51 | 51 | 3. C++ Program to Add/Subtract/Multiply/Divide Two Integers.
|
52 | 52 | 4. C++ Program to Add/Subtract/Multiply/Divide Two Integers entered by the user.
|
|
216 | 216 | + Total_Score: double
|
217 | 217 | ---
|
218 | 218 | + ctotal(): Function to calculate eng + math + OOP-2 with double return type.
|
219 | | - + Takedata(): Function to accept values for student id, Student Name, eng, OOP-2, maths and invoke ctotal() to calculate total. |
| 219 | + + Takedata(): Function to accept values for student ID, Student Name, eng, OOP-2, maths and invoke ctotal() to calculate total. |
220 | 220 | + Showdata(): Function to display all the data members on the screen.
|
221 | 221 | ```
|
222 | 222 | 87. [OOP] The class Person with private attributes name(string) and age(int).
|
|
0 commit comments