SlideShare a Scribd company logo
1 of 1
Download to read offline
Part1) Write a Java program which assigns your name to one variable and some other numerical
value you want to share to another variable (e.g. age, number of pets, number of children, etc.).
Then print a greeting along with the value of the name variable to the screen on one line and a
message that uses the other variable with numerical value to another line.
For example, my program would be:
Hello class, my name is: Dr. Mcfadden
I have visited 20 states
Submit your program as an attached .java file and post a screen shot to show that you have been
able to successfully run that program. Make sure your submission adheres to the Submission
Requirements document (under Course Resources).
Plz solve it and thank you so much for your help :)

More Related Content

More from agarshail

Pedro Gonzales un hispano de 37 aos llega en ambulancia d.pdf
Pedro Gonzales un hispano de 37 aos llega en ambulancia d.pdfPedro Gonzales un hispano de 37 aos llega en ambulancia d.pdf
Pedro Gonzales un hispano de 37 aos llega en ambulancia d.pdf
agarshail
 
paso 1 lee el texto a continuacin Nubes y niebla como fue.pdf
paso 1 lee el texto a continuacin  Nubes y niebla como fue.pdfpaso 1 lee el texto a continuacin  Nubes y niebla como fue.pdf
paso 1 lee el texto a continuacin Nubes y niebla como fue.pdf
agarshail
 
Parte I el problema Matt y Flora son estudiantes universita.pdf
Parte I el problema Matt y Flora son estudiantes universita.pdfParte I el problema Matt y Flora son estudiantes universita.pdf
Parte I el problema Matt y Flora son estudiantes universita.pdf
agarshail
 

More from agarshail (20)

Pequired information The kolowing information applies ro th.pdf
Pequired information The kolowing information applies ro th.pdfPequired information The kolowing information applies ro th.pdf
Pequired information The kolowing information applies ro th.pdf
 
Perca Rana y Cerdo 1 Por qu estos organismos requieren.pdf
Perca Rana y Cerdo  1 Por qu estos organismos requieren.pdfPerca Rana y Cerdo  1 Por qu estos organismos requieren.pdf
Perca Rana y Cerdo 1 Por qu estos organismos requieren.pdf
 
Perceptions of gender are affected by all of these attribute.pdf
Perceptions of gender are affected by all of these attribute.pdfPerceptions of gender are affected by all of these attribute.pdf
Perceptions of gender are affected by all of these attribute.pdf
 
Pedro Gonzales un hispano de 37 aos llega en ambulancia d.pdf
Pedro Gonzales un hispano de 37 aos llega en ambulancia d.pdfPedro Gonzales un hispano de 37 aos llega en ambulancia d.pdf
Pedro Gonzales un hispano de 37 aos llega en ambulancia d.pdf
 
Penny Inc uses process costing All direct materials are ad.pdf
Penny Inc uses process costing All direct materials are ad.pdfPenny Inc uses process costing All direct materials are ad.pdf
Penny Inc uses process costing All direct materials are ad.pdf
 
Part C Short Essay Questions 13 points Answer in the spa.pdf
Part C Short Essay Questions  13 points Answer in the spa.pdfPart C Short Essay Questions  13 points Answer in the spa.pdf
Part C Short Essay Questions 13 points Answer in the spa.pdf
 
Pazarlama yntemleri asndan tketicilere pazarlamay B2C .pdf
Pazarlama yntemleri asndan tketicilere pazarlamay B2C  .pdfPazarlama yntemleri asndan tketicilere pazarlamay B2C  .pdf
Pazarlama yntemleri asndan tketicilere pazarlamay B2C .pdf
 
Paula tiene 25 aos es soltera y gana 40000 al ao Paula.pdf
Paula tiene 25 aos es soltera y gana 40000 al ao Paula.pdfPaula tiene 25 aos es soltera y gana 40000 al ao Paula.pdf
Paula tiene 25 aos es soltera y gana 40000 al ao Paula.pdf
 
Paydirt Limestone Incorporated was organized several years .pdf
Paydirt Limestone Incorporated was organized several years .pdfPaydirt Limestone Incorporated was organized several years .pdf
Paydirt Limestone Incorporated was organized several years .pdf
 
Pauline won a Financial Analyst competition and had the foll.pdf
Pauline won a Financial Analyst competition and had the foll.pdfPauline won a Financial Analyst competition and had the foll.pdf
Pauline won a Financial Analyst competition and had the foll.pdf
 
Paula is a shareholder and director of Aloha Pty Ltd a pr.pdf
Paula is a shareholder and director of Aloha Pty Ltd a pr.pdfPaula is a shareholder and director of Aloha Pty Ltd a pr.pdf
Paula is a shareholder and director of Aloha Pty Ltd a pr.pdf
 
Paula and Prudence both have a BMI Body Mass Index of 24 .pdf
Paula and Prudence both have a BMI Body Mass Index of 24 .pdfPaula and Prudence both have a BMI Body Mass Index of 24 .pdf
Paula and Prudence both have a BMI Body Mass Index of 24 .pdf
 
Patient is a 25yearold male without medical history brough.pdf
Patient is a 25yearold male without medical history brough.pdfPatient is a 25yearold male without medical history brough.pdf
Patient is a 25yearold male without medical history brough.pdf
 
Patient Age Gender Date of Report History Copy and past.pdf
Patient Age  Gender Date of Report History Copy and past.pdfPatient Age  Gender Date of Report History Copy and past.pdf
Patient Age Gender Date of Report History Copy and past.pdf
 
paso 1 lee el texto a continuacin Nubes y niebla como fue.pdf
paso 1 lee el texto a continuacin  Nubes y niebla como fue.pdfpaso 1 lee el texto a continuacin  Nubes y niebla como fue.pdf
paso 1 lee el texto a continuacin Nubes y niebla como fue.pdf
 
Part Five Remember where commas are used as discussed in c.pdf
Part Five Remember where commas are used as discussed in c.pdfPart Five Remember where commas are used as discussed in c.pdf
Part Five Remember where commas are used as discussed in c.pdf
 
Participants are asked to respond to a single item assessing.pdf
Participants are asked to respond to a single item assessing.pdfParticipants are asked to respond to a single item assessing.pdf
Participants are asked to respond to a single item assessing.pdf
 
Passive vs Active Portfolio Management Susans current port.pdf
Passive vs Active Portfolio Management Susans current port.pdfPassive vs Active Portfolio Management Susans current port.pdf
Passive vs Active Portfolio Management Susans current port.pdf
 
pathogens are organisms that are not normally pathogenic but.pdf
pathogens are organisms that are not normally pathogenic but.pdfpathogens are organisms that are not normally pathogenic but.pdf
pathogens are organisms that are not normally pathogenic but.pdf
 
Parte I el problema Matt y Flora son estudiantes universita.pdf
Parte I el problema Matt y Flora son estudiantes universita.pdfParte I el problema Matt y Flora son estudiantes universita.pdf
Parte I el problema Matt y Flora son estudiantes universita.pdf
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Part1 Write a Java program which assigns your name to one v.pdf

  • 1. Part1) Write a Java program which assigns your name to one variable and some other numerical value you want to share to another variable (e.g. age, number of pets, number of children, etc.). Then print a greeting along with the value of the name variable to the screen on one line and a message that uses the other variable with numerical value to another line. For example, my program would be: Hello class, my name is: Dr. Mcfadden I have visited 20 states Submit your program as an attached .java file and post a screen shot to show that you have been able to successfully run that program. Make sure your submission adheres to the Submission Requirements document (under Course Resources). Plz solve it and thank you so much for your help :)