Răspuns :
Răspuns:
pseudocod:
Explicație:
Inceput
Intreg x
citeste x
{Daca (x % 2 == 0) atunci
scrie "x este par "
altfel
scrie "x este impar"
}
Sfarsit
Algoritm C++:
#include <iostream>
using namespace std;
int main ()
{
int x;
cout << "x= ";cin >> x;
if (x % 2 == 0)
cout << "x este par"
else
cout << "x este impar"
return 0;
}
Răspuns:
idkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Explicație: