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 […]

Flight Reservation Console App

Download Documentation   [code language=”csharp”] /* Mark Hesser * Nov 13, 2017 * Intro to P&L * Flight Reservation */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Flight_Reservation_Console { class Program { public static void Main(string[] args) { //Declarations //File Paths string path = Directory.GetParent(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)).FullName; if (Environment.OSVersion.Version.Major >= 6) […]

Programming Problems

[code language=”csharp”] /* Mark Hesser Nov 3, 2017 Intro to P&L Programming Problems */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Programming_Problems { class Program { static void Main(string[] args) { bool Quit = false; //Declarations bool[] program = new bool[8] { true, false, false, false, false, false, false, false }; […]

Base Salary Console App

[code language=”csharp”] using System; namespace BaseSalary { class MainClass { public static void Main(string[] args) { double baseSalary; double totalSales; double commissionRate; double totalPay; string continuetemp; bool Continue = true; while (Continue) { Console.Clear(); Console.Write("Enter Your Base Salary: "); if (Double.TryParse(Console.ReadLine(), out baseSalary)) { Console.Write("Enter your total sales: "); if (Double.TryParse(Console.ReadLine(), out totalSales)) { Console.Write("Enter […]

Marks Guess the Number Game

Description The App will generate a random number. Enter in what you think the number is, and it will tell you if you need to guess lower or higher. You have 10 tries to get it right. This app was created in my Intro Programming and Logic class. The assignment was as follows: Write a […]

Random Number Game Form App

[code language=”csharp”] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; /* Mark Hesser October 17, 2017 Random Number Game Form App */ namespace Random_Number_Game { public partial class rand_num : Form { public rand_num() { InitializeComponent(); } int randNum, guess, prevGuess, tryCounter; string guessTemp; bool […]