Hey, I’m Zac, and I’m only 13, so I’ve been having a little trouble with a script for applescript. I’m mixing

```
set apples to 0.5
set answer to text returned of (display dialog "Enter the amount of money you have (in dollars)" default answer "1")
display dialog answer & " dollar(s)=" & (answer * apples) & " apples"
```

with

```
set x to 6
set y to 10
get x + 25
get 80 / y
set xPlus25 to x + 25
set eighty_By_y to 80 / y
xPlus25 & eighty_By_y
```

basicly I’m trying to help this guy with math and I’m trying to make a box pop up so he can type in what x equals and a box that let’s him to type what he wants y to equal. and then a box that lets him type in the euquation and the answer will pop up. I quickly put a bit of the script together…but I don’t think it’s right

```
set x to text returned of (display dialog "Let X be:" default answer "1")
set y to text returned of (display dialog "Let Y be:" default answer "2")
get text returned of (display dialog "Pick a number to be added to x" default answer "3"), (display dialog with x) & " dollar(s)=" & (answer * apples) & " apples"
```

thanx in advanced.

zac