Pattern not showing output in challenges section.Everything is correct pattern is exactly same
hey kunj, you code is working right in IDE, try to input number first in challenges and then run it.
also insert endl in your line cout<<“enter the number”;
Hey Kunj, your output should exactly match given the output pattern, so you are not supposed to print “enter the number”. Also, try to refresh your page using ctrl+shift+R and then try to submit your code again.