need help

Feb 4, 2012 at 5:06am
Write a program that outputs the following variables:

-Define a variable called S3 that represents the sum of all numbers from 3 to 45 that are dividable by 3. Print S3 as ("S3 equals to "S3)

-Define and calculate variable S335 by writing a loop multiplying the number 3 with itself five times. Print S335 like above.

-Define and calculate variable S333 as S333=S3-S335/9

-Multiply S333 by 333667 and call the result S11. Print this number like the above.
Feb 4, 2012 at 6:18am
closed account (3TkL1hU5)
You haven't even made an attempt yet?

Show us what you've got started so we can help.
Topic archived. No new replies allowed.