Lecture Notes for Jan 27, 2009
- University of Wisconsin - Madison
- Computer Science
- Computer Science 302
- Lecture Notes for Jan 27, 2009
Last Modified: 2011-07-02
Related Textbooks:Java For Everyone
- Input Zloty
- Set d to z*0.30
- print d
- print"Please insert number of zloties"
- Input Z
- print"Please insert current exchange rate"
- Input X
- Set USD to Z*X
- print"Z Zloties is equal to USD dollars"
- Have exchange rate be inputted to generalize the algorithm
- Add print statements, Use clear, friendly prompts
- Use Clear Output
- Use Meaningful names
- Has a name- which we pick
- Has an address- That is associated with the name
- Sequenctial Flow: Do one Instruction after another from start to finish
- Conditional Flow: decide what to do based on a yes or no question.
- Repetitive Flow (looping): Repeating instructions as long as a yes/no question is yes
- Contents- Which we store in the variable
Words From Our Students
"StudyBlue is great for studying. I love the study guides, flashcards, and quizzes. So extremely helpful for all of my classes!"
Alice, Arizona State University
"I'm a student using StudyBlue, and I can 100% say that it helps me so much. Study materials for almost every subject in school are available in StudyBlue. It is so helpful for my education!"
Tim, University of Florida
"StudyBlue provides way more features than other studying apps, and thus allows me to learn very quickly! I actually feel much more comfortable taking my exams after I study with this app. It's amazing!"
Jennifer, Rutgers University
"I love flashcards but carrying around physical flashcards is cumbersome and simply outdated. StudyBlue is exactly what I was looking for!"