Question: Question 1 : ( 1 0 marks ) Write a program showing that the volume and surface area of a sphere of radius 0 .

Question 1: (10 marks)
Write a program showing that the volume and surface area of a sphere of radius
0.1234567789e2 is about 7881.948508 and 1915.313445, respectively.
The volume of a sphere is 43 radius ?3 and the area is 4 radius ?2.
Question 2: (10 marks)
Compute and print the number of minutes in a year.
Question 3: (10 marks)
Write a program that asks the user to enter three test scores. The program should display the
score of the three tests, and the accurate average of the three scores.
Try your program with the following values:
Test 1=89.45
Test 2=78.32
Test 3=92.56
The average score should be 86.78 rounded to 2 digits
Question 4: (15 marks)
Write a program that asks the user to enter their full name. Use a String variable to store the
input. The program should display the following:
The number of characters in the name.
The name in uppercase letters
The name in lowercase letters
The first character in the name
Lab Rubrics
This lab is marked out of 45.
Your code must be compiled using the jGrasp IDE. If your code does not compile using jGrasp
(for any reason), a grade of 0 will be earned. No exceptions!
Upload your completed .java file. Make sure you upload the .java file and not the .class fi
 Question 1: (10 marks) Write a program showing that the volume

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!