Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Object and Instances Netbeans Program

tsims
tsims 


I started writing the program; however, no mater what I try the health assignment package will not call the persondata java file. I don't understand what's wrong and my professor says she doesn't see it either. Can you please explain how to do this program? Attachments Tags Clarifications

Answers

Complete program - As discussed

SW_wizard
SW_wizard 



Complete working program attached. Attachments
program.zip (2 K) Download
Preview
in the editor. */ package healthassessment; import healthassessment.PersonInfo; import java.util.Scanner; /** * * @author Tia Simmons */ public class HealthAssessment { /** * @param args the command line arguments */ public static void main(String[] args) { //conversion constants

Preview
above: "); Scanner keyboard = new Scanner(System.in); int option = keyboard.nextInt(); double activity; // switch statement for activity level to calculate calories switch(option){ case 0: activity = 1.2; calories = calories * activity; break; case 1: activity

Screenshots
Purchase Answer