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

Linux Commands

Moving Around the Filesystem Commands for moving around the filesystem include the following. pwd: The pwd command allows you to know the directory in which you’re located (pwd stands for “print working directory”). For example, pwd in the desktop directory will show ~/Desktop. Note that the GNOME terminal also displays this information in the title […]

DNF system upgrade

Contents  [hide]  1 What is DNF system upgrade? 2 What does DNF system upgrade do? 3 How do I use it? 4 Frequently Asked Questions 4.1 How do I report issues that I find with upgrades? 4.2 Does DNF system upgrade verify the software it runs or installs during upgrade? 4.3 Will packages in third […]

OSI Study Guide

Application: interfaces to access the network (DHCP, HTTP, FTP, etc) – PDU = data Presentation: presents the data (either generic in format / reassembles for delivery to App layer) – PDU = data Session: Establishes session before data sent (kinda a 3 way handshake). – does Checkpoints and Synchronization – authentication protocols – PDU = […]

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

Guess a Number Console App

[code lang=”csharp”] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* Mark Hesser October 17, 2017 Guess a Number Console */ namespace GuessConsole { class Program { static void Main(string[] args) { Console.Title = "Guess a Number"; // Declarations Random rnd = new Random(); int randNum = rnd.Next(1, 100), guess, prevGuess = randNum, […]