mailinda21 mailinda21
  • 14-03-2024
  • Computers and Technology
contestada


procedure Otakatik(j: integer; k: integer);
Var i: integer;
begin
for i := 1 to 10 do begin
if (j < 0)
then
if (k > 0)
then j := j + k
else k := -j + k
else
if (k < 0)
then j := -j - k
else k := j - k;
end;
writeln(j,’ ‘,k);
end;

Jika prosedur tsb dipanggil dengan perintah Otakatik(35,-10) berapakah harga yang dicetak perintah writeln(j,'',k)?

Respuesta :

Otras preguntas

Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3.
PLEASE HELP ME ANNOTATE I WILL MARK YOU AS BRAINLIEST
Which equation shows the commutative property of addition? 2 = 2 + 0 19 = 8 + 7 + 4 0 + 8 = 8 1 + 5 = 5 + 1
Help I need commonlit bright side of sadness assessment questions 50 points
what is the correct answer for this?​
Can someone help walk me through this?
Suppose a psychrometer reads 80°F for the dry bulb and 76°F for the wet bulb. What is the relative humidity?
How is a civic action such as voting different from serving on a jury
after completing a fraction division problem, Clarice used multiplications to check her answer division could Clarice verify her answer? explain
Faux*Est-ce que les angles 1 et 2 sont adjacents? justifie ta réponse(2 points)Entrez votre rénonse​