Solved

Flowchart problem

Posted on 2012-04-11
2
240 Views
Last Modified: 2012-04-12
Here is what I have programmed so far


Private Sub cmdExecute_Click()
    'Declare variables
    Dim intN As Integer
    Dim intF As Integer
    Dim intCounter As Integer
     
    'Initiallize variables
    intF = 2
    intCounter = 0
    intN = Val(txtDesiredIn.Text)
   
   
    'Input Values
    Do
        If intN > 1 Then
            intN = intN / intF
            intCounter = intCounter + 1
        End If
    Loop Until intN < 1
           
    'Display Values
    lblDisplay.Caption = intCounter
    lblDisplay.Visible = True
Flowchart.pdf
0
Comment
Question by:gorean4u
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 37838733
This looks like a class assignment.  We can not write the program for you.  We can give you guidance, but you need to tell us exactly what you don't understand.
0
 
LVL 17

Accepted Solution

by:
Thibault St john Cholmondeley-ffeatherstonehaugh the 2nd earned 500 total points
ID: 37838900
your code displays values after the loop exits, but your flowchart displays values every iteration and does nothing when the loop reaches the exit conditions and completes.
We need to know what you need to know to be able to help you.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C qsort compare function issue 6 45
learn programming 8 72
Do Wend Macro not working 22 58
How to calculate the height of a bookstand at 20 degrees. 4 22
EE introduced a new rating method known as Level, which displays in your avatar as LVL. The new Level is a numeric ranking that is based on your Points. This article discusses the rationale behind the new method and provides the mathematical formula…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question