CISC 101 Lecture Notes - Lecture 5: Complex Instruction Set Computing

59 views1 pages

Document Summary

Input() - asking the user for something via type or voice. Class examples: comparing the number of upper years in this course vs first years. If: statement defines a program that will only be executed if a certain event occurs. Else: statement will provide the alternative for the case that the if statement does not occur. You can paste your code into the program and it will allow you to see the execution of the program. == (two equal signs) is how you state equal. Elif() statement translates to "if and only if" the previous statement fails. The else statement is the last alternative statement you can add, and it is for when the if and elif statement fails.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents