Răspuns :
Start
|
Citeste a
NU | DA
--------------------- a = 0 -----------------------
| |
| Afiseaza "am citit zero"
| |
|---------------------------------------------------------|
|
Stop
-Uite si in pseudocod
inceput
citeste a
daca a = 0
afiseaza "am citit zero"
stop
- si in c++
#include<iostream>
using namespace std;
int main()
{
int a;
cin >> a;
if(a == 0)
cout << "am citit zero";
return 0;
}