ECE 114 Lecture Notes - Lecture 3: While Loop, Dependent And Independent Variables, File Explorer

49 views2 pages

Document Summary

When saving and closing projects, use save all and close solution to work on separate projects in the same sitting!!! When finished with your project, open it in file explorer, and delete all debug folders. When writing a code with multiple variables, you can write it in three seperate lines as: int x; int y; int z; Or can be expressed as int x, y, z; Best way is the last because it"s more explanatory of the code. It allows you to read it better for future reference. When defining a variable, the first character in the identifier cannot be a digit. When you store a variable, you destroy whatever was there before. When tying in arithmetic, type it in the same as a calculator, and for exponents, x^2 must be written as x*x. All relational operators associate from left to right.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents