cse-110-lab-10

cse-110-lab-10 - CSE 110 Laboratory Assignment 10 This...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 110 Laboratory Assignment 10 This assignment is due by 11:59 PM on Sunday, November 21. Submit your .java fle through Blackboard — be sure to use the link that corresponds to your lab day and time. In today ʼ s lab, we will continue to practice writing and calling methods in Java. The program below will perform several calculations from physics. Each calculation is performed by a separate method. For each calculation, you will prompt the user to enter the required information, and read in that information from the keyboard using the Scanner class. Your program will then pass the user input to the corresponding method for the calculation. Finally, your program should print out the result of the calculation with an appropriate label. 1. Start by creating a new project in either BlueJ or Eclipse. Name this project whatever you want (we suggest “Lab 10”, for simplicity). 2. Create a new class named Formulas . Double-click on this class to open a new editor window. Replace the contents of this class with the contents of the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/06/2011 for the course CSE 110 taught by Professor Shaunakpawagi during the Fall '08 term at SUNY Stony Brook.

Page1 / 2

cse-110-lab-10 - CSE 110 Laboratory Assignment 10 This...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online