Flowgorithm Using an Array

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 46

  • @cee670
    @cee670 8 років тому +10

    Can you show how to use an array with integers and not strings? How would I use an array to store numbers to output what is the largest and smallest number?

    • @flowgorithm
      @flowgorithm  8 років тому

      Will sort out a tutorial this weekend for you Christine.

    • @flowgorithm
      @flowgorithm  8 років тому

      ua-cam.com/video/HcZKrsPO9g0/v-deo.html

  • @nArEiTtube
    @nArEiTtube 6 років тому +3

    Hi, if I'm not wrong, the external While loop will never end if the word is not found...

    • @flowgorithm
      @flowgorithm  6 років тому

      Well spotted. I'd left it as was as this was a solution to a student assignment so wanted them to see if they were testing properly. Feel free to send me a fixed version. You could do it with two for loops or a dirty break command

  • @chadwinter6873
    @chadwinter6873 Рік тому

    QUESTION, Please! :) How do I add a time delay to a flowgorithm program? For example, at the end of the program, instead of just ending, I have it looping back to the start of the program, but before it goes back to the start, I want it to say what it says, which is "Go Do It!" , then I want it to wait 5 seconds, then restart, instead of instantly restarting.

    • @flowgorithm
      @flowgorithm  Рік тому

      There is no delay or time functionality built into flowgorithm

  • @DrDoofensmirtZ13
    @DrDoofensmirtZ13 4 роки тому +2

    How to find total number of negative elements in an array??? And how to contact you(Mail)

  • @kpieceemmry3387
    @kpieceemmry3387 Рік тому

    Great videos on common concept to programming.
    Can you please 🙏 do a video on flowgorithm on linear search or is it the same principle as array? Thanks 🙏 for your feedback

    • @flowgorithm
      @flowgorithm  Рік тому

      Yes this video shows a linear search in an array

    • @kpieceemmry3387
      @kpieceemmry3387 Рік тому

      @@flowgorithm Thanks 🙏 I promise to share your page among my students for your effort in replying all questions is top notch
      so my second question, where you use call: LoadArray[size, number] I got the size but the number is what I don’t grab it’s role and also if I have a certain set of numbers to search from rather than random numbers what do I need to do differently? Thanks for your time.

    • @flowgorithm
      @flowgorithm  Рік тому

      @@kpieceemmry3387 If you want a fixed set of items just put them in the array rather than using the random number bit. assuming you are refering to this video ua-cam.com/video/HcZKrsPO9g0/v-deo.html for the second question. In the function i create called LoadArray, size = how many elements in the array. Number is the range for the random number so if number = 6 you'd get a number between 0 and 6

  • @varinderkaur9871
    @varinderkaur9871 5 років тому +2

    Can you please tell me the tool you have used for creating flowgorithm

    • @flowgorithm
      @flowgorithm  5 років тому

      I didnt create flowgorithm but i assume it was written in C# or similar

  • @quentinwhitfield1474
    @quentinwhitfield1474 2 роки тому

    How would you create a program that, given a set of 3 numbers, it can organize them from small, medium, and large when you run it?

    • @flowgorithm
      @flowgorithm  2 роки тому

      Take a look at my bubble sort video

  • @ginadennis1056
    @ginadennis1056 2 роки тому

    How would you create an flowgorithm to square then sum all elements in an array?

    • @flowgorithm
      @flowgorithm  2 роки тому

      loop through the array with a for loop square the number as you go and keep a running total

    • @ginadennis1056
      @ginadennis1056 2 роки тому

      @@flowgorithm thanks

    • @flowgorithm
      @flowgorithm  2 роки тому

      @@ginadennis1056 if you need specific help let me know

  • @guineapig1016
    @guineapig1016 5 років тому +8

    You're not good at explaining this very well.
    But thanks because this video is helpful.
    Try less doing and more explaining.
    Your explanations in this video does this:
    "The definition of shark is shark."
    I only learned by reviewing your work. I did not learn from your words at all.
    That is why you have a lot of bad reviews on this video. Please improve it.

  • @francostaccioli634
    @francostaccioli634 4 роки тому

    This program it's complicate and wrong: you use an array which contains 10 numbers but the program can find only the words below the tenth word...
    can you fix it?

    • @flowgorithm
      @flowgorithm  4 роки тому

      Not sure why you think either. If it's complicated I'm sorry - speak to your teacher or try to explain what is making it complicated for you and maybe we can help simplify it for you.
      I've tested the code and uploaded a version to www.microbitsandbobs.co.uk/downloads/flowgorithm/usinganarrray.fprg
      It loads 10 words (or numbers as it treats these as strings) into an array and finds them including the last item . You might want to check your code or download mine and compare it but as far as i can see it works.

    • @francostaccioli634
      @francostaccioli634 4 роки тому

      @@flowgorithm I've fixed it with a simple trick
      Anyway thank a lot; did you prove to insert the tenth word? Or insert a word which isn't incluse in the "list"?

    • @flowgorithm
      @flowgorithm  4 роки тому

      @@francostaccioli634 it finds any word in any position - it won't find it if its not in the list

    • @francostaccioli634
      @francostaccioli634 4 роки тому

      @@flowgorithm so I think I had a bug from flowgorithm because I've done a similar program with 5 words to insert. First I done a program without have seen the yours, then I comparated with the your program and fix a bit, finally I have seen an imperfection in the lenght of array and I fix it with a trick
      P.s. sorry for the english but I'm from another conutry

  • @KikiDake72
    @KikiDake72 3 роки тому +1

    you CAN pass an array in flowgorithim?

    • @flowgorithm
      @flowgorithm  3 роки тому

      No but arrays are treated as global variables

  • @arsalanchohan5275
    @arsalanchohan5275 7 років тому +1

    can you create a programme that generates 10 random numbers using an array and calculates the sum of the array

    • @flowgorithm
      @flowgorithm  7 років тому +1

      UA-cam no longer suports small content providers do im not currently motivated to create new content other than what i need for my students.
      The task you are asking is just about covered in other videos. Follow tbe video on creating an array of random numbers, then just loop through the array eith a for loop like the big small one but add the value to a total and thrn print the total at the end.
      I need to get to 1000 subscribers before i will add new content

  • @vaishnavipujari3600
    @vaishnavipujari3600 Рік тому +1

    Thank you sir

  • @mohammedirshad5102
    @mohammedirshad5102 2 роки тому

    can we declare a 2d array?

    • @flowgorithm
      @flowgorithm  2 роки тому

      No flowgorithm doesn't support this yet

  • @Spacetime356
    @Spacetime356 6 років тому +2

    Can we form 2D array in this flowgarithm

    • @flowgorithm
      @flowgorithm  6 років тому

      As it stands no. But if you look at the documentation you will see it appears to can create additional data types. Ive not tried myself but will have a look. The problem would be that different languages declare multi dimentional arrays in very different ways so i guess this would cause issues when it exports to code.

    • @iminthatweirdpartofyoutube2687
      @iminthatweirdpartofyoutube2687 5 років тому

      you can make a 2d array from a 1d array where the index of your array is i = collum + (width * row)

    • @12washere
      @12washere 5 років тому

      may i have the .flowgorithm file? so i can learn and implement in my own way :D

    • @viryapasyaaditya1211
      @viryapasyaaditya1211 3 роки тому

      @@iminthatweirdpartofyoutube2687 can you please explain more about creating a 2d array

  • @ظبيةالقحطاني-غ9ب
    @ظبيةالقحطاني-غ9ب 5 років тому

    How we do input array

    • @flowgorithm
      @flowgorithm  5 років тому

      Use its index ie arrayname[0]

    • @jacob.mp4
      @jacob.mp4 4 роки тому

      @@flowgorithm I have a 12-element array to hold the names of the months, and I'm trying to use it in parallel with two other 12-element arrays. The other two 12-element arrays will have their values assigned by the user, but I'm obviously not going to make the user enter the names of the months. Is it possible for me to assign values to all 12 elements of the months array in one step? Or do I have to do 12 individual assignment steps? i.e. months[0] = "January" ; months[1] = "February" ; etc. Sorry for the long question lol

    • @flowgorithm
      @flowgorithm  4 роки тому

      @@jacob.mp4 as far as im aware in flowgorithm you will need 12 assignments.

  • @tasosvittas3345
    @tasosvittas3345 6 років тому +2

    i love u more than pizza

  • @nosman123
    @nosman123 8 років тому

    Ty