Write a Java program correctly that generates a report of proof of vaccination against COVID-19 for the people who received their dose of vaccination. Write a program which: 1. Display a welcome message. 2. Then prompts the user to enter the following: • First name, with first letter uppercase, which is then stores in a variable of type String. • Last name, with first letter uppercase which is then stores in a variable of type String. • Day of birth, set as a number between 1 and 31, which is then stores in a variable of type int. • Month of birth, set as a number between 1 and 12, which is then stores in a variable of type int. • Year of birth, set as a number between 1920 and 2006, which is then stores in a variable of type int. • Day of vaccination, set as a number between 1 and 31, which is then stores in a variable of type int. • Month of vaccination. set as a number between 1 and 12, which is then stores in a variable of type int. • Year of vaccination, set as a number between 2020 and 2021, which is then stores in a variable of type int. • Name of vaccination, which is then stores in a variable of type String, example Pfizer, Moderna, AstraZeneca, etc. • Location of the center of the vaccination, which is then stores in a variable of type String and with first letter uppercase, example: Montreal, Laval, Dorval, etc. • Lot of vaccination, which it then stores in a variable of type String, example: CW0123. 3. Display the information above in a form of a report, see a sample output in next page. 4. Display a farewell message, so that the user knows that the program has terminated
Write a Java program correctly that generates a report of proof of vaccination against COVID-19 for the people
who received their dose of vaccination.
Write a program which:
1. Display a welcome message.
2. Then prompts the user to enter the following:
• First name, with first letter uppercase, which is then stores in a variable of type String.
• Last name, with first letter uppercase which is then stores in a variable of type String.
• Day of birth, set as a number between 1 and 31, which is then stores in a variable of type
int.
• Month of birth, set as a number between 1 and 12, which is then stores in a variable of type
int.
• Year of birth, set as a number between 1920 and 2006, which is then stores in a variable of
type int.
• Day of vaccination, set as a number between 1 and 31, which is then stores in a variable of
type int.
• Month of vaccination. set as a number between 1 and 12, which is then stores in a variable
of type int.
• Year of vaccination, set as a number between 2020 and 2021, which is then stores in a
variable of type int.
• Name of vaccination, which is then stores in a variable of type String, example Pfizer,
Moderna, AstraZeneca, etc.
• Location of the center of the vaccination, which is then stores in a variable of type String
and with first letter uppercase, example: Montreal, Laval, Dorval, etc.
• Lot of vaccination, which it then stores in a variable of type String, example: CW0123.
3. Display the information above in a form of a report, see a sample output in next page.
4. Display a farewell message, so that the user knows that the program has terminated
normally, example:
Thank you for choosing our services.
Report generated successfully.
![Welcome to the COVID-19 Report generator:
Please enter the client info:
First Name ? Alfred
Last Name ? LeBland
Day of Birth (between 1 and 31) ? 1
Month of Birth (between 1 and 12) ? 12
Year of Birth (between 1920 and 2006) ? 1975
Day of vaccination (between 1 and 31) ? 12
Month of vaccination (between 1 and 12) ? 11
Year of vaccination (between 2019 and 2021) ? 2020
Name of vaccination (Pfizer, Moderna, Astrazeneca, etc.) ? Pfizer
Location of the center of the vaccination ? Laval
Lot of vaccination ? Cw0123
Health and Social Services
Proof of Vaccination against COVID-19
User Information
LeBlanc, Alfred
1/12/1975
Name
DOB
Vaccine Administered
Name
PB COVID-19
Code
Pfizer
Lot
Cw0123
12/11/2020
Laval
Date
Location
Thank you for choosing our services.
Report generated successfully.
Figure 1. Sample output screen for Question 1.
Note: Your program must display the same information but can be formatted differently.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fd3be9fc5-49dc-4987-93dc-30b0d6519ab7%2Fbff48511-15f1-4172-86f7-5fed176d099a%2Fj2au96_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)