//*******************************************************************************************************************
// Proj1_CEH.java
// Written by: Charles Harvan for CSCI 1301 Sec: C Spring 2012
// Date Written: Jan 29, 2012
// Date Submitted: Jan 29, 2012
// This program will utilize int, char, and string variables to store information. It will also use escape sequences.
//*******************************************************************************************************************
public class Proj1_CEH
{
public static void main (String[] args)
{
// int and char variables
int year = 2011, coursenum = 1301;
char grade = 'A';
// String variables for the name of the: college, department, student, course, and comments
String collegeName = "North Georgia College & State University";
String depName = "Department of Mathematics & Computer Science";
String student = "Adam Smith";
String courseName = "CSCI " + coursenum;
String comments = "Excellent";
// Will output the college name and department name. Will also output "Transcript for Fall 2011"
System.out.println ("\t\t\t" + collegeName + "\n\n\t\t" + depName + "\n\n\t\t\t" + "Transcript for Fall " + year);
System.out.println ();
System.out.println ();
// Line printing name and course number using variables
System.out.println ("\tName: " + student + "\t\t\tCourse: " + courseName);
System.out.println ();
// Line printing grade and comments using variables
System.out.println ("\tGrade: " + grade + "\t\t\t\tComments: " + comments);
System.out.println ();
//Blank lines leading to "Designed by:" line
System.out.println ();
System.out.println ();
System.out.println ();
System.out.println ();
//"Designed by:" line
System.out.println ("\t\t\t\t Designed by: Charles Harvan");
//Blank lines leading to "Press any key to continue" line
System.out.println ();
System.out.println ();
System.out.println ();
//"Press any key to continue" line
System.out.println ("\tPress any key to continue");
}
}