CS173: Intro to Computer Science - Introduction to Primitive Data Types and Expressions (3 Points)

Developed by Professor Tralie and Professor Mongan.

Exercise Goals

The goals of this exercise are:
  1. To become familiar with the basic structure of a Java program
  2. To write a Java statement
  3. To declare a variable
  4. To manipulate a variable with arithmetic statements
Modify the Driver.java file to compute and print the Energy of an object given its mass and the constant c (which is given to you in the program).
Welcome to our online modules system! Be sure to log in with your Urinus ID before you proceed. For example, Professor Tralie's ID is ctralie. If you are not an Ursinus student, that's fine! Just make something up, and you can still run everything