Jump to content

Recommended Posts

could someone help me out am i right in saying i will need to use a for loop to output the answe code below:


(creating a function)


input 1 : 6


input 2 : 5


input 3 : 4


input 4 : 3


 


answer


 


666666


55555


4444


333


 


i do not know a lot i have been researching on internet for days an cant seem to cant anywhere. could someone help please 


Link to comment
https://forums.phpfreaks.com/topic/285785-for-loop/
Share on other sites

dude. You have received 2 different ways of doing this already. You need to go back and take time to understand the code. Stop making duplicate threads asking the same thing. If you don't understand what has been given to you, ask for clarification in your other thread(s). This is a fairly simple code solution. The problem is not the solutions that have been given to you. It's your understanding and/or application of them.

Link to comment
https://forums.phpfreaks.com/topic/285785-for-loop/#findComment-1467016
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.