Question
Make a Java code: Line 1 : Display Welcome to Pures CREATE FIVE LINES BLANK SPACE Line 2 : Display Systems Analysis Class 2022 CREATE
Make a Java code:
Line 1 :
Display Welcome to Pures
CREATE FIVE LINES BLANK SPACE
Line 2 :
Display Systems Analysis Class 2022
CREATE SEVEN LINES BLANK SPACE
Line 3:
Display on screen: YOUR NAME
Line 4: Display on screen: Student ID:
Line 6: Display SEMESTER 1 or SEMESTER 2
2. Make separate java codes to do the following:
i. Area of a circle diameter
ii. Area of a circle radius
iii. Diameter of a circle
3. Write a code to display:
"YOURNAME will make an attempt to be Excellent in all my courses"
e.g. SHAIL NAYARAN will make an attempt to be Excellent in all my coursesHow to calculate the area of a circle?
Area of a Circle formula
So, let's see how to find the area of a circle. There are several ways to achieve it. Here, we can calculate the area of a circle using a diameter or using a radius.
The diameter is the line that crosses the center of the figure and touches both of its margins. The radius begins at the center of the figure and ends at the figure's margin
You can find the diameter of a circle by multiplying the radius of a circle by two:
Diameter = 2 * Radius
Area of a circle radius. The radius of a circle calculator uses the following area of a circle formula:
Area of a circle = pi * r2
Area of a circle diameter. The diameter of a circle calculator uses the following equation:
Area of a circle = pi * (d/2)2
Where:
p is approximately equal to 3.142. It doesn't matter whether you want to find the area of a circle using diameter or radius - you'll need to use this constant in almost every case.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Hi Students Please find the detailed answer for the question above as DETAILED SOLUTION 1 Java code to display text and input users name student ID an...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