160 likes | 285 Views
Intel Ultimate. Engineering Experience. Come on in, the code is GREAT!. Instructors. I sure do love making mobile apps!. Brad Nichols. Michael Katic. michaelkatic@gmail.com. bnichols@spsu.edu. Ryan Scott. Come try on your computer science hats!. rsscott2@asu.edu.
E N D
Intel Ultimate Engineering Experience
Come on in, the code is GREAT! Instructors I sure do love making mobile apps! Brad Nichols Michael Katic michaelkatic@gmail.com • bnichols@spsu.edu Ryan Scott Come try on your computer science hats! rsscott2@asu.edu Feel free to contact any of us for whatever reasonIf you cant figure out an error or are stuck on a design issue just shoot an email to one of our email and we’ll help out the best we can!
Facebook • Join us on Facebook • And Wikispaces!
What is Programming? • Computer Programming is the: • Designing • Writing • Testing • Debugging • and Maintaining • of source code of computer programs.
Why do I want to be a computer Programmer? • Pay • Starting Salaries in computer programming range from $59,000 to $112,000 per year • Contract jobs run as high as $100 to $400 per hour • Flexibility & Independence • Work from home as freelance contractor • Nearly always able to work from home • Bring your work anywhere • The “Do good work and we wont ask questions” policy • Demand & Job Security • As long as society relies on computing technology, there will be a demand for computer programmers. Notes from: http://www.indeed.com/ http://www.askitcareercoach.com/ http://smallbusiness.chron.com/advantages-being-computer-programmer-38637.html
Hello World Tutorial General Structure of a C# Program Main() and Command-Line Arguments Hello, World! class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); } } TIP:Don’t forget to add Console.ReadKey(true); to stop the console window from closing.
More on Types Types, Variables, and Values int a = 5; int b = a + 2; //OK bool test = true; // Error. Operator '+' cannot be applied // to operands of type 'int' and 'bool'. int c = a + test;
Learning Conditionals • Operators • < is less than • > is greater than • <= is less than or equal to • >= is greater than or equal to • == is equal to • != is not equal to • && logical “and” (True only if both sides are true. False otherwise.) • || logical “or” (False only if both sides are false. True otherwise.) Example: if( X > 3 && X < 6 ) if( hitPoints == fullHitPoints )
Learning Conditionals The "if" Statement static voidMain(String[] args) { int x; x=20; if (x > 0) { x -= 1; Console.WriteLine(x); } }
Learning Loops The 'While' Loop while(count < maxCount) { Console.WriteLine(count); count++; } Console.ReadLine();
Researching your issues • Google is your friend! • Here are some other friends you might want to become familiar with: • MSDN Learning Recources • Top C# Questions on Stack Overflow • Get More Out of Google
Getting A Jump Start on Tomorrow • Tomorrow we will be learning about the following: • Conditionals, Loops, and Methods • Classes • Random class To get a head start you can visit the links above and play around with some of the code provided. HAPPY CODING
Intel Ultimate Engineering Experience