Skip to main content

I am stuck at converting the integer input I get from the user into spaces/hashes. How to use this integer with my printf() function to print spaces/hashes?

Thanks.

I am stuck at converting the integer input I get from the user into spaces/hashes. How to use this integer with my printf() function to print spaces/hashes?

Thanks.

I am stuck at converting the integer input I get from the user into spaces/hashes. How to use this integer with my printf() function to print spaces/hashes?

rephrased the question and edited the title
Source Link
kzidane
  • 17.7k
  • 3
  • 28
  • 100

How to translate integer input into spacesConvert Integers to Spaces/hashtags for Mario Pset1Hashes?

I've set up my if else conditions, my integer input, as well as my for loop, but I am stuck at the for loop portion. I also know how to set the loop so that theconverting the integer number represented can go up by one, or start at 23 and go down by one. I am stuck at how you translate this "number" thatinput I can printfget from the user into an actual number of spaces and hash signs/hashes. How to use this integer with my printf() function to print spaces/hashes?

Thanks.

How to translate integer input into spaces/hashtags for Mario Pset1?

I've set up my if else conditions, my integer input, as well as my for loop, but I am stuck at the for loop portion. I also know how to set the loop so that the the integer number represented can go up by one, or start at 23 and go down by one. I am stuck at how you translate this "number" that I can printf into an actual number of spaces and hash signs.

Thanks.

How to Convert Integers to Spaces/Hashes?

I am stuck at converting the integer input I get from the user into spaces/hashes. How to use this integer with my printf() function to print spaces/hashes?

Thanks.

Source Link
user1407
  • 23
  • 1
  • 3

How to translate integer input into spaces/hashtags for Mario Pset1?

I've set up my if else conditions, my integer input, as well as my for loop, but I am stuck at the for loop portion. I also know how to set the loop so that the the integer number represented can go up by one, or start at 23 and go down by one. I am stuck at how you translate this "number" that I can printf into an actual number of spaces and hash signs.

Thanks.