Question: 6. (Upload as Source File) Create a program which writes the following statement to the console (you do not need to print words in color):
6. (Upload as Source File) Create a program which writes the following statement to the console (you do not need to print words in color): My name is Kang Chen and I am a freshmen at Southern Illinois University I hope to achieve an in this course and to graduate by 2022. Where the words in: Red: is your name stored as a string variable called name Blue: is your current role stored as a string variable called yearOfStudy : is what you hope to achieve as a grade stored as a character called grade Green: is what year you expect to graduate stored as an integer called year Note: please use variables rather than literals 7. (Upload as Source File) Write a program which calculates the area of a circle and displays the radius and the area to the console. The radius of the circle shall be stored as a variable that is set to a literal of your choosing. The literal maybe a fraction Output example: The radius is: 2 The area of the circle is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
