Java Code/Program - Switch Case Statement
Short Java program that uses the Switch-Case statement. By: matt392Continue Reading ยป
View ArticleJava Code/Program - Conditional Operator/Boolean Variable
Short Java program that uses a conditional operator and a boolean variable.By: matt392Continue Reading ยป
View ArticleReplace Spring on Garbage Can Top
On spring loaded garbage cans, over time the spring can weaken so that the top will not open. This Instructable will provide a replacement for the spring.Parts: 2 screws about 3/4 inch long Washer...
View ArticleJava Code/Program - Calculate Hypotenuse Using Pythagorean Theorem
Please find below and attached a short Java program that takes 2 numbers inputted from the keyboard and calculates the hypotenuse using the Pythagorean Theorem.+++++++++++++++++++++++++++++++++++//...
View ArticleJava Code/Program - Area and Volume of Icosahedron (20 Sided Sphere)
A Java program that calculates the area and volume of an icosahedron, which is a 20 sided sphere (also known as a polyhedron).Uses java.util.Scanner and java.lang.Math classesFile attached.By:...
View ArticleJava Code/Program - Switch Case Statement
Short Java program that uses the Switch-Case statement. By: matt392Continue Reading ยป
View ArticleJava Code/Program - Conditional Operator/Boolean Variable
Short Java program that uses a conditional operator and a boolean variable.By: matt392Continue Reading ยป
View ArticleJava Code/Program - Read & Write Data From Files
Short Java program that reads data from a file and writes data results to a file. By: matt392Continue Reading ยป
View ArticleJava Code/Program - Else-If Statement
Short program that uses the "else if" statement.By: matt392Continue Reading ยป
View ArticleRepresenting Binary Numbers Using Switches
Graphic that represents binary numbers using up/down switches (text).PDF attached.1 switch (2 to the 1st power = 2): Switch Combination 1: UpCombination 2: Down By: matt392Continue Reading ยป
View ArticleJava Code/Program - Loan Calculator/Loan Payments
Java code/program for computing loan payments.With comments to make it easier to follow.Formula is attached as a PDF and below. Monthly Payment = Loan Amount x Monthly Interest Rate...
View ArticleJava - ArrayLists
// Short Java program that uses the ArrayList class // User enters additional data import java.util.Scanner; import java.util.ArrayList; public class TestClassHackerrank { public static void...
View ArticlePython - Remove Integer Duplicates From List Using Set()
# Create list of integers; in Python, it is similar to arrays ListOfIntegers = [1,2,3,4,2,3,4] # print ListOfIntegers print ("The original list of integers is: ") print (ListOfIntegers) # Run...
View ArticlePython - Check for Number for Greater Than/Less Than
# Python program that takes 2 numbers inputted by the user # Then tests them for being less than, greater than or equal to each other dataEntered1 = input("Enter 1st number: ") print("You entered: " +...
View ArticleFundraiser Event Program Template/Sample With Ads
A fundraiser event program template with Ads: - Attached in Powerpoint and PDF formats - Booklet format - Designed to be copied onto 8.5x11 paper or cardstock for easy production runs - Can be stapled...
View ArticleJava Code/Program - Using "&&"/"and" Operator
Short Java program that demonstrates the use of the "and"/"&&" operator.By: matt392Continue Reading ยป
View ArticleHow to Build a Fundraiser Event Program Template/Sample With Ads
A fundraiser event program template with Ads: - Attached in Powerpoint and PDF formats - Booklet format - Designed to be copied onto 8.5x11 paper or cardstock for easy production runs - Can be stapled...
View ArticlePython - Input Data Into Variable
# Input data using Python; then print out inputted data # Using the "input" command, take data that is typed in and place it into # the variable "dataEntered" print("This program will have the user...
View ArticlePython - Magnitude-Distance Formula for Stars/Galaxies
print ("This program will calculate magnitude-distance for stars and galaxies.") # We need the math module for base 10 log function import math # Magnitude-Distance Formula is: (m - M) = ( (-5) + (5 *...
View ArticleSimple Facemask From Old Shirt for Coronavirus, Version 1
Simple facemask from old shirt, version 1.Steps to make: Cut out square of fabric from shirt (for this one I cut out the pocket). Cut 4 strips of cloth about 1 inch (2.5 cm) wide and 12 inches (30 cm)...
View Article