Musings in STEM Education
  • Home
  • Research Spring 2017
    • Research Paperwork and Resources
    • Reading
  • Foundations Spring 2017
    • Nested Loop Challenge
    • Random Challenges
    • String and List Challenges
    • Mock Create PT Challenges
  • Research Fall 16
  • Foundations 2016
  • Algebra II Spr 16
  • Research Spr 16
  • Found of Engineering and Tech
  • Differentiation Strategies
    • Artifacts
    • Class Standards
    • Reflections
  • Research Fall 2015
  • VTB ICM
  • FOET Student Blogs
    • Marcos P.
    • Vinny P.
    • Rebecca S.
    • Jerome S.
    • Andrew S.
    • Zach Y.
    • Daniel Z.
    • Shayan B.
    • Mariah B.
    • Eddie C.
    • Eli H.
    • Ben Ha.
    • Ben Ho.
    • Nick H.
    • Raymond J.
    • Andrew K.
    • Andrew M.
    • Sejal P.
    • Abhi P.
    • Adam P.
    • Erica R.
    • Avni S.
    • Ethan S.
    • Stephen S.
    • Alex T.
    • Hanna W.
  • STEM Workshop Research Notebook Blogs
    • Research Notebook User 1
    • Research Notebook User 2
    • Research Notebook User 3
    • Research Notebook User 4
    • Research Notebook User 5
    • Research Notebook User 6
    • Research Notebook User 7
    • Research Notebook User 8
    • Research Notebook User 9
    • Research Notebook User 10
    • Research Notebook User 11
    • Research Notebook User 12
    • Research Notebooks User 13
    • Research Notebook User 14
    • Research Notebook User 15
    • Research Notebook User 16
    • Research Notebook User 17
    • Research Notebook User 18
    • Research Notebook User 19
    • Research Notebook User 20
  • WHS Girls' Lax
  • FOET Spr15
  • Research Spr15
  • IDD Spr15
  • Research
  • Intro to Drafting and Design
  • Architectural Drawing and Design I
  • Student Blogs
    • Kevin
    • Forrest
    • Sarfarez
    • Thomas
    • Rachel
    • Parth
    • Dani
    • Derek
    • Virinchi
    • Anusha
    • Alex
    • Melam
    • Jeet
    • Pranav
    • Tarun
    • Jeffery
    • Assata
    • Justin
    • Kristin
    • Mary
    • Udo
    • Praveen
    • Carter
    • Clay
    • Adie
    • Christian
    • Luke
    • Colin
  • About
  • Untitled

nested loop challenge

1. Use nested loops to generate a list of all two digit numbers less than or equal to 56 and the sum of whose digits is greater than 10.
2. Use another set of nested loops to find a two-digit number such that the number itself minus the number reversed is equal to the sum of its digits.
3. Finally, create two functions using the above two sets of code.  Create a menu that asks the user which of these two choices is desired and continues to run until quit is selected.
4. Bonus: Find four positive integers whose sum is 45, and such that the first plus 2, the second minus 2, the third multiplied by 2, and the fourth divided by 2 are all equal.
Proudly powered by Weebly