0

How can I change pseudocode to python???

Integer katzenjahre =0; if (menschjahre > 0) katzenjahre +=15; menschenjahre--; end if; for 1..2 do { if (menschenjahre >0) katzenjahre += 6; menschenjahre --; end if; } for Integer i = 0; i < menschenjahre; i++ { katzenjahre += 4; menschenjahre --; } return katzenjahre; }

24th Oct 2018, 2:29 PM
CeenaKing
CeenaKing - avatar
8 Respuestas
0
You understood the pseudocode?
24th Oct 2018, 3:56 PM
KrOW
KrOW - avatar
0
no
24th Oct 2018, 5:59 PM
CeenaKing
CeenaKing - avatar
0
Why you need of it?
24th Oct 2018, 6:14 PM
KrOW
KrOW - avatar
0
for homework
24th Oct 2018, 6:26 PM
CeenaKing
CeenaKing - avatar
0
Why dont try to resolve the original problem instead of translate the pseudocode? What is the problem?
24th Oct 2018, 6:27 PM
KrOW
KrOW - avatar
0
I can't translate pseudocode
24th Oct 2018, 6:41 PM
CeenaKing
CeenaKing - avatar
0
You saying that homework is translate this pseudocode (that its not even complete)?
24th Oct 2018, 6:50 PM
KrOW
KrOW - avatar
0
🤦 ok I don't need you held thank you
24th Oct 2018, 7:07 PM
CeenaKing
CeenaKing - avatar