C++ Guidelines

Comments:

Includes:

Structured Programming:

Naming Conventions:

Indentation:

Spacing:

Curly Braces:

Variables:

Functions/Methods:

Additional Style Requirements:

C++ Grade Calculation

There are 11 categories. Nine of them are 10 points each and the remaining two are 5 points each.

C++ Sample Program

/*
 * Program to print Hello World
 *
 * Name:	Karen Peterson
 * Date:	January 1, 2018
 */

#include 

using namespace std;

/*
 * main - prints Hello World
 *
 * Return:		status
 */

int main()
{
	cout << "Hello World" << endl;

	return 0;
}

Java Guidelines

Comments:

Package:

Structured Programming:

Naming Conventions:

Indentation:

Spacing:

Curly Braces:

Variables:

Methods:

Additional Style Requirements:

Java Grade Calculation

There are 11 categories. Nine of them are 10 points each and the remaining two are 5 points each.

Java Sample Program

/**
 * Program to print Hello World
 *
 * @author	Karen Peterson
 * @version	January 1, 2018
 */
package proj01;

public class HelloWorld {
    /*
     * main - prints Hello World
     *
     * @param	args	command line arguments
     * @return	N/A
     */
    public int main(String[] args) {
        System.out.println("Hello World!");
    }
}