Share your repls and programming experiences

← Back to all posts
#WEEKLY Plaindrome
h
DynamicSquid (2303)

I couldn't think of anything creative to do this time... At least it's the first C++ submission :)

Commentshotnewtop
TheDrone7 (1006)

SCORED.

Quick feedback : It would be great if you added some sort of prompt asking the user to enter a number. I waited like 5 minutes thinking it isn't running lol.

DynamicSquid (2303)

@TheDrone7 Oh lol oops :) I'll definitely keep that in mind for next time xD thanks!

DynamicSquid (2303)

@CodingCactus wait, no, that's correct

0 - that's one digit

the nearest palindrome to 1 is 1

CodingCactus (2527)

@DynamicSquid it says between the users num and 0, there are no numbers between 0 and 0

DynamicSquid (2303)

@CodingCactus I talked to @TheDrone7 and he said the range is inclusive, so it should be 1

studentAlfredAl (396)

You should prompt the user, or at least explain what to do in the description.

DynamicSquid (2303)

@studentAlfredAl I do prompt the user, and I don't think I need a description as Drone7 will be judging it

studentAlfredAl (396)

I didn't know what to input until I read the comment section @DynamicSquid

DynamicSquid (2303)

@studentAlfredAl read the announcements, this is part of the #WEEKLY challenges

studentAlfredAl (396)

Oh ok. I don't read the challenges section 😅 @DynamicSquid