Bifalgorithm post

We want to print four rows. All right. So this means that we're likely going to loop. So I'm going to just say I is equal to zero. I is less than height. I plus plus. And then I am going to just say print line. And I'm just going to do right now I'm just going to start with a single hash. And then I don't need to sprint how the world down there. So this should hopefully print four rows of just a single hash. So let's clear and run again. So we have hash, hash, hash, hash.

We want to print four rows. All right. So this means that we're likely going to loop. So I'm going to just say I is equal to zero. I is less than height. I plu…

Ideas in this flowchart

  • Print Four Rows
  • Loop Initialization
  • I = 0
  • Loop Condition
  • I < Height
  • Increment I
  • Print Line
  • Single Hash
  • Clear and Run
  • Output
  • Hash, Hash, Hash, Hash
Feed/

We want to print four rows. All right. So this means that we're likely going to loop. So I'm going to just say I is equal to zero. I is less than height. I plus plus. And then I am going to just say print line. And I'm just going to do right now I'm just going to start with a single hash. And then I don't need to sprint how the world down there. So this should hopefully print four rows of just a single hash. So let's clear and run again. So we have hash, hash, hash, hash.

"this means that we're likely going to loop"

👍
0
0 comments0 shares

Sign in to view and post comments.