How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 12353
Experience:  Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Type Your Programming Question Here...
LogicPro is online now
A new question is answered every 9 seconds

I have this problem where i need to write a code using the

This answer was rated:

I have this problem where i need to write a code using the "For Loop" that calculates having you pay doubled 10 times starting at $1 the answer should be 1,023, but i keep getting 2,046.

my code,

Dim dailyrate As Integer
Dim optiononetotal As Integer
Integer.TryParse(optionOneTotalLabel.Text, optiononetotal)

dailyrate = 1

For pay As Integer = 1 To 10
dailyrate = dailyrate * 2
optiononetotal = dailyrate + optiononetotal

Next pay
optionOneTotalLabel.Text = optiononetotal.ToString("C2")
Welcome here
Please zip the project.
upload the zipped file to or and post download link here
Customer: replied 2 years ago.

Here is working project:
Download Happy Temps

You will know the issue by seeing for loop.

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

so you can come back and ask me a question anytime.

Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help.

Thank you for using this site!

LogicPro and other Programming Specialists are ready to help you
Customer: replied 2 years ago.

Thank you so very much!

Welcome. Please provide a rating

Related Programming Questions