Enroll in CS60 at Harvard Extension School to Study Programming
package com.harvard.cs60; import java.util.Scanner; public class Palindrome { public static void main(String[] args) { System.out.println(“Enter a string to check if it is a palindrome:”); Scanner scanner = new Scanner(System.in); String…
Read More →Typical jobs for a programmer
Jobs for a Programmer As a programmer, you have many different options to choose from. There are many different types of programming jobs that require various different skill sets and…
Read More →Make Your App Idea Real Quick With Our Windows App
Welcome to Make Your App Idea Real Quick With Our Windows App. It is a blog with information on using windows apps to create your own app ideas. You have…
Read More →4 Ways To Convert An Integer to a Short
public class Factorial { public static void main(String[] args) { // TODO code application logic here int number = 5; long fact = 1; for(int i = 1; i
Read More →How Long Should My Code Be? A blog describing different ways to check the length of your code
The first and easiest way to check the length of your code is by using the built-in function len() >>> len(“How long should my code be?”) 27 This method works…
Read More →Introducing cmu codes
Welcome to cmu codes, the blog of the software development company, cmu codes. Our blog contains articles on everything you need to know to become a software developer. When we…
Read More →Tries to write Pi using your computer’s CPU. There are many ways to approach this problem, but we wanted a solution that was fairly easy to understand and was readily adaptable to different hardware. In the past few months we have been working on some algorithms and code, with the goal of optimizing this script so that it tries all available combinations before outputting an answer. We believe we have found a solution that will be useful for other programmers trying to do the same thing. Currently this is a
public class Pi { public static void main(String[] args) { int max = 1_000_000; int increment = max / 8; long startTime = System.currentTimeMillis(); //int stopTime = System.currentTimeMillis() – startTime;…
Read More →What Do You Need to Know About Bar Codes? Five basic facts you need to know
What Do You Need to Know About Bar Codes? Five basic facts you need to know 1. The standard UPC bar code is a one dimensional (or 1D) bar code…
Read More →Best and Worst Seats in a Classroom
def is_leap(year): leap = False if year % 4 == 0 and (year % 400 == 0 or year % 100 != 0): leap = True return leap year =…
Read More →An AI-Generated City Map
The purpose of this exploration was to see how accurate a map could be created by AI. The end result is a fully detailed city map that can be used…
Read More →