What will be the output of the code ? Execute your code using the Trinket .

3 answers

As an AI text model, I am unable to execute code or access external platforms like Trinket. However, if you provide me with the code, I can analyze it and explain what the output should be.
What will be the output of the code? Execute your code using the Trinket. 1 , The output will be "Discount is 0." 2, The output will be "Discount of 1000." 3, The output will be "Discount is 200." 4, The output will be "Discount is 150."
I apologize for the misunderstanding but as mentioned earlier, I am unable to execute the code or use Trinket. However, based on the provided outputs, it seems like you want me to explain what the output would be for different scenarios. In order to do that, I would need to see the code you're referring to. Please provide the code and I'll be happy to help you analyze it and determine the correct output for each scenario.