DailyTemps Console App

[code language=”csharp”] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; /// <summary> /// ################# /// # Mark Hesser # /// # Dec 20, 2017 # /// # DailyTemps # /// ##################################################################################################### /// # Write an application named DailyTemps that continuously prompts a user for a series # /// # of […]

Chapter 4 – Review Questions

Answer Questions 1-20 Programming Exercises Please write code for #4, #6, and #12. Create each on in it’s own solution file. Once down, combine all three solutions files into a Folder, zip and upload via link above.

PB&J Pseudocode and Flow Chart

You and your teammate must develop a comprehensive Pseudocode and Flow chart showing the proper flow your code would take to accomplish making me PB&J sandwich. Your task [as a team] is to 1st create the pseudocode. Once completed and handed in, to follow this up with creating a flow chart – using flow charting […]

Eggs Console App

[code language=”csharp”] # Mark Hesser # Dec 10, 17 # Eggs */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; namespace Eggs { class Program { static void Main(string[] args) { //Declarations bool programSelectError = false, Menu = true; int programSelect; ConsoleKeyInfo kb; while (Menu) { Clear(); Title = "Main […]

ProjectedRaises Console App

[code language=”csharp”] /* Mark Hesser * Dec 10, 17 * Projected Raises */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectedRaises { class Program { static void Main(string[] args) { //Declarations bool programSelectError = false, Menu = true; int programSelect; ConsoleKeyInfo kb; while (Menu) { Console.Clear(); Console.Title = "Main Menu"; //Main […]

Inches to Centimeters Console App

[code language=”csharp”] /* Mark Hesser * Dec 10, 17 * Inches to Centimeters */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InchesToCentimeters { class Inches { static void Main(string[] args) { Console.Title = "Inches to Centimeters"; //Declarations const double centimetersInAnInch = 2.54; double inches, centimeters; //Example Conversion inches = 3; centimeters […]

C# – Data Types

Constant or variable data type A data type describes the format and size of (amount of memory occupied by) a data item and defines what types of operations can be performed with the item. C# provides for 15 basic, or intrinsic types, of data, as shown in Table 2-1. 15 basic types – most common […]