Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How do I do this and add the topics of where are you from, what languages do you speak, and what computer do you use

How do I do this and add the topics of "where are you from", "what languages do you speak", and "what computer do you use daily?". import java.util.Scanner; public class Introduction { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Please enter your name: "); String name = in.nextLine(); in = new Scanner(System.in); System.out.print("Please enter your age: "); int age = in.nextInt(); in = new Scanner(System.in); System.out.print("Please enter your major: "); String major = in.nextLine(); in = new Scanner(System.in); System.out.print("Please enter your interest: ");//hobby ,games or anime String hobby = in.nextLine(); //Design your own self-introduction here with print and println methods } }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

Students also viewed these Programming questions