Question: Please zip all HW files, including source files ( . java ) and results ( . txt ) for this week in ONE folder and
Please zip all HW files, including source files java and results txt for this week in
ONE folder and submit on DL
At the beginning of each java file, please include in comments:
insert here: Semester, Year
Student Name
Instructor:
HW #x: Name of HW
Due: insert due date here
File name: Insert FileNamejava
HW #:
I love pizza! Determine the exact number of square inches of pizza I will get from
pizzas and then from a pizza, letting me know the outcome of your computations stemp
Then, determine how many more square inches of pizza I will get if I order pizza,
instead of pizza, again, letting me know the outcome of your computations.
Also, if I order the pizza, beside myself, I will have to share it equally with friends.
Exactly how much pizza will I get to eat?
Note: Make sure your displayed outcomes are userfriendly.
CS:
insert here: Semester, Year
Instructor:
HW #x: Name of HW
Due: insert due date here
File name: Pizza.java
public class Pizza
public static void mainString args
declare all needed variables first
complete necessary computation processes
display user friendly outcomes to solve the problem
System.out.println;
Systemout.println is to display output to the screenstep;
data placed between quotes is called a string literal, concatenates to
display variable values do not use quotesag;
Hints:
What is more accurate an int, float, or double? stepe
concatenates string literals & variable values to create detailed output. T
There are two features of the Math class that will come in handy for this
assignment, Math.pow and Math.PI
How do you determine the areasquare inches of a circle?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
