Page 243 #1 - Open the Blocks Editor and define two variables, x, and y. Create an if-then block that determines whether the variable y equals 20. If it is, assign 0 to the variable x.
Could someone please show me how to set the blocks up in the block editor?
Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
This is some basic of App Inventor.
Looks like you are learning from some book or tutorial. I suggest you to learn from the first page, not from middle.
I am taking a course in college. The book is Starting With App Inventor for Android by Tony Gaddis. It is an assignment that the professor assigned, and the book is not clear as to how to do the exercise.
I did not ask you to do my homework for me. I was seeking guidance on setting up the blocks in the block editor. If it appeared that I was looking for someone to do my homework, that was not the intention.
again this is only some basic for app Inventor . If you have read some tutorials or watch some video tutorials from like Youtube, you will know how to do it.
I understand the mathematical representation of the variables. I don't know what blocks I need to show the code. I have searched on YouTube and could not find anything like this about App Inventor.
What is the publication date of that book? I have not seen an updated version that covers the current App Inventor 2, which is massively different to the original App Inventor.
Does your college not know that the book is about a discontinued version of App Inventor?
MIT offer a lot of materials for Teaching and Learning the current version of App Inventor (AI2), links on my website: ProfessorCad: Tips & Tricks Learning App Inventor ProfessorCad: Tips & Tricks App Inventor for Teachers
Hello again Timothy, I hope you understand that I'm trying to help, not hinder, I have been criticized by my colleague for being over zealous. Sorry if I have offended you.