+ 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; }

2nd Jul 2025, 7:31 PM
Mudsair Malik
Mudsair Malik - avatar
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.
2nd Jul 2025, 7:58 PM
Lothar
Lothar - avatar
+ 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.
5th Jul 2025, 3:03 AM
Mudsair Malik
Mudsair Malik - avatar