About this document
Arithmetic Operators and Loops Activity by tusharsharma10000000 is a document available to read on EtoBox.
This document provides instructions and problems for an Arduino activity involving arithmetic operators, comparison operators, and looping. [1] The first problem has students modify starter code to print the first 10 odd values of x, even values of y, and squared values of z using a for loop. It also asks them to explain what happens when adding 5,000 to x each iteration and which data type prevents overflow. [2] The second problem has students run code using a for loop to calculate factorials and print
- Author
- tusharsharma10000000
- Language
- EN