👤

verificati daca 2 nr pot fi consecutive sau nu
dau coroana!​


Răspuns :

Răspuns:

#include <iostream>

using namespace std;

int main() {

int a, b;

cin>>a>>b;

if(b==a+1) cout<<"da" ;

else cout<<"nu" ;

return 0;}