© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
41 replies
Despy()

❔ help with an exercise

I've encountered a weird problem that idk how to fix. Say we've got a string "31131123521" how do i make it so each number of the string is multiplied by one another so the string we have got will be equal to 3 * 1 * 1 * 3 * 1 * 1 * 2 * 3 * 5 * 2 * 1 (this is equal to 540). I have trouble finding a patter or solution to this when it seems very simple. Given a string i just want to multiply each number inside of it
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ HELP WITH EXERCISE WINDOWS FORM
C#CC# / help
3y ago
Trying to figure out an exercise
C#CC# / help
4y ago
i need help with one exercise using cycles
C#CC# / help
3y ago
array exercise
C#CC# / help
11mo ago