+ 2
Python
#include <iostream> using namespace std; int main() { int a, b; cout << "Pehla number dijiye: "; cin >> a; cout << "Dosra number dijiye: "; cin >> b; cout << "Jama: " << a + b; return 0; }
2 Antworten
+ 5
Mudsair Malik ,
not quite clear what your issue or question is. can you please update your post?
you write `Pyton`, and also show a proper running c++ code.
+ 1
> Thank you for your response. The code I posted is written in C++, not Python (Pyton might be a typo in my tags). It's a simple program that takes two integers as input and prints their sum.
Kindly let me know if you find any issue in the code or if anything is unclear. I'm happy to update it further.