CSC005 AppInventor Basic Math Calculator

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 22

  • @zeloguy
    @zeloguy 11 лет назад

    Good basic tutorial. One modification I made was to make a logical operator on divide since you cannot divide by 0.
    btnDiv.Click
    IfElse test txtNum2.Text not= number 0
    ...txtResult.Text = txtNum1.Text / txtNum2.text
    else-do
    ...txtResult.Text = text "Cannot divide by 0!"

  • @riyantoriyan7922
    @riyantoriyan7922 5 лет назад

    Good tutorial bro..

  • @mightynaanbread2778
    @mightynaanbread2778 9 лет назад

    Thank you so much mate, I've created a RC car gear chart using your video! Cheers!!

  • @Science2Student
    @Science2Student 11 лет назад

    it would be awesome if you made some complex math apps, I am not sure whether app inventor supports integretion or derivation, but it would be great if it does. thank you Davin for the upload.

  • @zeloguy
    @zeloguy 11 лет назад

    That is a way to do it however the defacto way of doing it is to display "Cannot divide by zero". In fact if you use Windows Calculator you will see that is exactly what it does. Either way it needs to be caught and that is the most important thing.

  • @davidklein8212
    @davidklein8212  11 лет назад

    If you allow AppInventor to perform division by zero the result will be displayed as an infinity symbol. My preference would be to catch the attempt and display "Undefined" in the Results text box.

  • @Science2Student
    @Science2Student 11 лет назад

    Great ! keep it up please

  • @Azimuth7
    @Azimuth7 5 лет назад

    I would love to see the same tutorial on the app inventor 2. I´m having difficulties with that.

  • @fajarfjr9871
    @fajarfjr9871 10 лет назад

    Thanks Dude

  • @notsephix
    @notsephix 4 года назад

    I did it with Mit app inventor 2

  • @tamasmaroti5725
    @tamasmaroti5725 11 лет назад +1

    in emulator my programe works fine but in my mobile it says bad arguments. Just i wrote 6*5 and it saj bad arguments * 6 5

  • @josepheagan5294
    @josepheagan5294 10 лет назад

    How do I get the text box to except multiple numbers from the user, without having to use 30 boxes?

  • @notsephix
    @notsephix 4 года назад

    but i have a question how will the computer know the answer i thought this is what we are suppose to do link for screenshot : file:///home/subhas/Pictures/Screenshot%20from%202020-09-24%2019-22-55.png

  • @loltube8186
    @loltube8186 9 лет назад

    Where can I find the screen 1.Intialize?

  • @erwin21D
    @erwin21D 9 лет назад +1

    how can I make it so that when i fill only one textbox and press the plus it doesnt give me an error message?

    • @alvaromorales6828
      @alvaromorales6828 9 лет назад +1

      set when the textbox is empty , fill it whit " 0 ".

  • @nayrt02
    @nayrt02 10 лет назад

    How do I add 30 text boxes onto a sum for a score sheet??

  • @kitkit5040
    @kitkit5040 8 лет назад

    Why I can not find My Blocks ?

  • @hackgamesmobile3120
    @hackgamesmobile3120 10 лет назад

    Quá Bình THường@@

  • @hakanuzan7504
    @hakanuzan7504 10 лет назад

    gavura like yok falan asd