CPSC 150 Lecture Notes - Lecture 1: Leap Year

158 views4 pages
5 Apr 2016
School
Course
Professor

Document Summary

We started together but couldn"t get it work, so we submitted the program. I went back and worked on it in hopes of getting the program to work correctly. Continuing from p4, instead of writing a file to call methods from the. Mydate. class, we are writing the mydate. java that has the methods we called in p4. This program is used in conjunction with another java file to determine the date of an inputted date. Tom soliday, austin anderson, and i took some time to work together on this code. public class p5 private static final int[] days = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; private static final string[] daynames = { sunday, monday, tuesday, wednesday, thursday, friday, saturday }; private static final string[] monthnames = { january, february, march, april, may, june, july, august, september, october, november,

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers