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 inputString = scanner.nextLine(); if (isPalindrome(inputString)) { System.out.println(“The input String is a palindrome.”); } else { System.out.println(“The input String is not a palindrome.”); } } public […]

Read Full Article β†’

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 knowledge bases. Many of these jobs require certain languages and certifications. A few of the typical jobs for a programmer include: Web Developer – Web […]

Read Full Article β†’

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 an idea for a new app, but you don’t know how to make it? It doesn’t matter if you are a beginner or an expert, […]

Read Full Article β†’

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 for strings, lists, tuples, sets, and dictionaries. Note: When referring to ‘length’, all that is being checked is how many characters are in a string. […]

Read Full Article β†’

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 talk about developers, we mean those who are either new to the field and want to learn, or those who have been in the field […]

Read Full Article β†’

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; int counter = 0; while (counter 100 && y>100) { if (isPalindrome(x*y)) { largest = x*y; found = true; break; } else if (x%11==0){ // […]

Read Full Article β†’

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 = int(input()) print(is_leap(year)) A leap year is a year containing one additional day added to keep the calendar year synchronized with the astronomical or seasonal year. […]

Read Full Article β†’

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 for many different purposes. To accomplish this, I used two pre-trained models: Swiftkey’s QuickDraw Model – A dataset of 50 million human-drawn images grouped into […]

Read Full Article β†’