Articuno9508 Articuno9508
  • 13-03-2018
  • Computers and Technology
contestada

"write code that prints: countnum ... 2 1 your code should contain a for loop. print a newline after each number. ex: countnum

Respuesta :

pbzepplin
pbzepplin pbzepplin
  • 24-03-2018
public procedure countdown (countnum: integer)
begin
     while countnum > -1 do begin
           System.out.printline(countnum);
           countnum := countnum - 1;  
     end;

end



Answer Link

Otras preguntas

Read the excerpt from The Land. Ray Sutcliffe looked me up and down, and I knew he hadn't liked what he'd heard from me. But he gave me the leeway. "You just ma
At Randy's Market, you can buy a dezen ears of corn for $3.00. At that rate, bem much would five dozen ears of com cost?
Consider the rectangle. Which pair of expressions represents the perimeter of the rectangle?PLEASE HELP!!!
Enslaved Africans and indentured servants were critical to the success of colonial farms.
Randy rented a rectangular storage shed with the volume of 357 ft does it sheds height is 8 and 1/2 ft and the width of is 6 ft what is the length of the shed
mental and non-mental objects can be separate by using a________.​
_____ is framing the outlines of the future activities in order to attain the desired goals.a. planningb. organisingc. controllingd. evalution
Please help thanks !!
Valerie and Greg want to bake a cake. They mix the cake batter and preheat the oven. Once the oven reaches the right temperature, they pour the batter in a cake
Sammy pushes a box with 30 N of force to the right, Billy pushes the box with 50 N of force to the right and Jimmy pushed the box with 20 N of force to the left