subject

Hint: you will need to change the number ofstatementsPart2:• Prompt the user to enter a state• Read in the user response and assignit to a String variable named stateHint: before you can assign a value to thevariable state it needs to be declared• Prompt the user to enter the name ofthe capital• Read in the user response and assignit to a String variable named capital.• Use printf and format specifiers toprint the following message:The capital of state is capitalwhere you substitute state and capital withthe state and capital entered by the user. Make your output look exactly like the output displayed above. Make sure to read in the input next to the prompt but without touching it (use a blank toseparate the prompt from the user input). The output should use a single empty line toseparate the frog displayed in part1 from the output created in part2.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 10:30
Which of the following types of software is most applicable to the promotion of new products through advertising? a.databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
question
Computers and Technology, 25.06.2019 02:00
Software and services are used to conceive, plan, and execute projects in any field. these tools are excellent methods of increasing the probability of successful projects. open source linux project management mind-mapping
Answers: 2
question
Computers and Technology, 25.06.2019 08:20
The main circuit board inside the system uit is called megaboard / true or false
Answers: 1
question
Computers and Technology, 25.06.2019 14:00
The first few lines of a script that say "using" that point the code to the right groups are called
Answers: 1
You know the right answer?
Hint: you will need to change the number ofstatementsPart2:• Prompt the user to enter a state• Read...
Questions
question
Computers and Technology, 07.10.2020 23:01
Questions on the website: 13722362