- 2
I need help with the source code to add 2 integers using oop in C++ language, im still a beginner.
Oop C++, having a slight problem getting it done
4 Respuestas
+ 3
Your thread topic is C++ relevant, you could've put appropriate and relevant words in tags. Not your nicknsme.
https://www.sololearn.com/Discuss/333866/?ref=app
+ 2
If you are a beginner learn the language or oop in c++ and try out yourself ,we don't do others work ,ty
+ 1
Check this:
#include<iostream>
using namespace std;
int main()
{
int a=2,b=3;
int c=a+b;
cout<<c;
}
Output: 5
int a=2,b=3; this makes 2 variables with 2,3 as their values
and int c=a+b; adds them up.
0
How about in object oriented programming, whats the solution