Skip to content

Instantly share code, notes, and snippets.

from datetime import datetime
s1 = '10:00:00'
s2 = '11:00:00'
FMT = '%H:%M:%S'
tdelta = datetime.strptime(s2, FMT) - datetime.strptime(s1, FMT)
# Rate per hour
hourlyRate = 10.15
# Converts data type of hourly rate > string
strHourlyRate = str(hourlyRate)
package packageOne;
import java.util.*;
public class TestScoreStatistics {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter a score or \"999\" to end the program.");
int score;
do {
@tcipack
tcipack / ShowStudent.java
Created October 8, 2017 22:38
Project Two
package packageOne;
public class ShowStudent {
String name,school;
int age,studentID,studentGPTS,studentCH;
float studentGPA = studentGPTS/studentCH;
}