Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Next Part: OK complete this part by creating declarations and initializing each of these variables. Be sure to type the variable appropriately as int, double,
Next Part:
OK complete this part by creating declarations and initializing each of these variables. Be sure to type the variable appropriately as int, double, or String.
Choose meaningful names of your own for your variables and use camel case:
Example:
the cost of my lunch: double myLunchCost ;
the number of kids in your family:
the answer to is it raining? :
the price of a gallon of gas :
your favorite number :
your shoe size:
your birth month:
your full name:
If you want, you can print these out with java statements but Ill make that optional so you can finish the lab during the session.
double myLunchCost ;
System.out.printlnThe cost of my lunch is: myLunchCost;
Get another screen shot or copy of your editor window making sure I can read all your variable declarations.
Paste the screen image or output copy into this document here:
If your instructor directed you to use GitHub:
Click on GIT on the main menu bar and choose Commit. On the popup screen use the dropdown on the submit button to Commit and Push.
Typically, you commit several times as you write more code but you Push at the end of your session to upload all the commits to the GitHub repository and back up your work. You can also use the Commits to restore your project to a previous point like the undo function in an editor.
Paste the URL link for the GitHub repo here:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started