User blog:IAmAPersson/Math in SimpleC, this week for me

Hey guys! Yesterday I told you guys in SimpleC about input and advanced output. After today, we'll be able to make a 5-function calculator (addition, subtraction, multiplication, division, exponents)! Ok, first we'll input 2 numbers doing this: Now of course, it doesn't have to be 1 and 2. It can be any 2 variables. Now, we'll add them. This adds variables 1 and 2 and stores it in variable A. If I did this: and I wanted to store in variable ╘, then I'd do: Tada! Now, this only works with variables. What if I wanted to use constants? Like I wanted to input a number, then add 1, then have the number printed? A new command! This command is called SETV (short for SET Value). It sets a value to a string or variable. So in SmileBASIC where you'd do this to set the value 5 to A: in SimpleC, you'd do this: Wow! For a string: Now if we wanted to input a number, add 1 to it, and return the number, I'd do: Now for the final test. I'm gonna input 2 numbers from the user and apply all mathematical operations possible to the 2 numbers. Yay! Happiness!

Anyway, my week. I have standardized testing this week, but it's not the kind I have to study for. It's just to see how well we are doing, and if the teachers need to change anything to help the students. I don't have to study since it's like this. Because of this and since I don't have homework this week, I have ample time to program. I should be able to fix this last bug in Minecraft DS, and then I get to add (toggleable) slimes!