Points 1 and 2 addressed. I believe. Thank you.
I have revised code below and can get a 'penultimate' total. My problem is the length of the s string near the end of the loop going negative. More specifically, the last number in the string does not have a comma after it. How am I you going...
Ok. I'm going to continue to work on. Its my own code. The leftover conditions are from past logic walkthroughs (I will clean up).
What I have currently is below. Your above points re the comma breakdown are legit but for the life of me, I can't figure out how to clean this up properly. I...
Thx. I have been debugging using Visual Studio 2010. I've cleaned up the code but am still having loop and total aggregation problems (string to integer). Not sure what I'm doing wrong.
Here is my current code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
How to use IndexOf & Substring to separate and sum string of comma separate numbers?
I've been trying to get this to work but am having problems with the loops and counters. Basically -- NOT using arrays or split functions -- I need to write a function that takes one string made of numbers...
Question: How to code using MesssageBox and w/ do-while loops? I want o be able to obtain (via InputBox function) from the user and print a pyramid of numbers where 1 is at the top and each row then builds successively by adding one to the previous one, i.e. so row 2 would have 12, and row three...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.