Exam 3 final - Bereny Paulino Exam 3 Logic and design 1 declare integer counter Constant integer MAX_VALUE = 10 For counter = 1 to MAX_VALUE Display

Exam 3 final - Bereny Paulino Exam 3 Logic and design 1...

This preview shows page 1 - 2 out of 2 pages.

Bereny Paulino 12/14/15 Exam 3 Logic and design 1. declare integer counter Constant integer MAX_VALUE = 10 For counter = 1 to MAX_VALUE Display integer entered 2. if R = S true then Display T Else If R = S false then Display V If T = U true then Display W Else If T = U false then Display Y If U =W true then Display Y Else If U = W false then Display X If V = W true then Display Y Else If V = W false then Display X 3. d= 14 E = 5 F = 0 4. “hello” is printer 3 times 5. “Adios” is printer 4 times 6. def every5years():
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Fall '16
  • Mr. ruckel
  • Logic, Electronics, Model theory, Integral domain, Kim Philby

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture