Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Get immediate and reliable solutions to your questions from a knowledgeable community of professionals on our platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

write a while loop that subtracts 9 from userinput, assigns userinput with the difference, and outputs the updated userinput, followed by a newline. the loop iterates until userinput is less than or equal to 0.