Question 1: With Java, Write a program that will ask the user to enter the following personal information about himself/herself (full name, address, date of birth, phone), store each in a variable, the program will then print them, each on a separate line using one print statement.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

Question 1:

With Java, Write a program that will ask the user to enter the following personal information about himself/herself (full name, address, date of birth, phone), store each in a variable, the program will then print them, each on a separate line using one print statement.

Question 2:

The following are the ingredients of a donuts recipe (5 cup of sugar, 2 cup of butter, 6 cups of flour), this recipe makes 30 donuts . Write a program with Java that will ask the user how many donuts they want, the program will then print on screen how many cups of each ingredient is needed. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Concept of pointer parameter
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT