VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 308,430 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 3,139 people online right now. Registration is fast and FREE... Join Now!




fibonacci

 

fibonacci

chiatsue

6 Aug, 2009 - 11:42 PM
Post #1

New D.I.C Head
*

Joined: 6 Aug, 2009
Posts: 1

CODE
Private Sub Command1_Click()
result.Clear() = Clear

    if(n < 1) return;

    int a = 1, b = 1;

    Do
        result.push_back (B)
        b a
        a = result.back()
    While (b <= n)

    If(*rli <= n){
            n -= *rli;
            *rli = 1;
        } else{
            *rli = 0;
        }
    }

    
End Sub

help me please?
how could i make this right? its our assignment in visual basic subject. Please help me..

Mentor Edit: code.gif

This post has been edited by AdamSpeight2008: 6 Aug, 2009 - 11:46 PM

User is offlineProfile CardPM
+Quote Post


Posts in this topic
chiatsue   fibonacci   6 Aug, 2009 - 11:42 PM
firebolt   Are you asking for VB6?   6 Aug, 2009 - 11:46 PM
AdamSpeight2008   It looks like the code is a mix of VB and C.   6 Aug, 2009 - 11:47 PM
firebolt   It looks like the code is a mix of VB and C. I...   7 Aug, 2009 - 04:23 AM
NoBrain   well that was funny . it is a VBC++   7 Aug, 2009 - 12:10 AM

Fast ReplyReply to this topicStart new topic

Time is now: 11/24/09 02:02PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month