1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
netineya [11]
3 years ago
13

Your first submission for the CIS 210 Course Project should include the following functionality: - Requests the user to input hi

s/her first name - Formats the name to capitalize the first letter and makes all remaining characters lowercase, removing any spaces or special characters - Output the formatted name to the console
Computers and Technology
1 answer:
Viefleur [7K]3 years ago
5 0

Answer:

In Java:

import java.util.*;

public class Main{

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 String name;

 System.out.print("First name: ");

 name = input.next();

 name= name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();

 System.out.print(name);

}

}

Explanation:

This declares name as string

 String name;

This prompts the user for first name

 System.out.print("First name: ");

This gets the name from the user

 name = input.next();

This capitalizes the first letter of name and makes the other letters to be in lowercase

 name= name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();

This prints the formatted name

 System.out.print(name);

You might be interested in
1. List three tabs that make up the Ribbon
Roman55 [17]

Answer:

To create actions panes

On the Project menu, choose Add New Item.

In the Add New Item dialog box, select ActionsPaneControl, and then choose Add.

The ActionsPaneControl1.cs or ActionsPaneControl1.vb file opens in the designer.

From the Common Controls tab of the Toolbox, add a label to the designer surface.

In the Properties window, set the Text property of label1 to Actions Pane 1.

Repeat steps 1 through 5 to create a second actions pane and label. Set the Text property of the second label to Actions Pane 2.

Explanation:

hope it helps

3 0
3 years ago
If I want to add a new slide to my presentation, which option would I click on?
ivanzaharov [21]
The answer would be D. New Slide
3 0
2 years ago
Andrew’s Complete Cameras offers its customers an interactive website to help them choose the best camera for their lifestyle. B
anzhelika [568]

Answer:

The answer to the following question is Engage.

Explanation:

4e framework is the new framework for the marketing communications with the social media.

EXCITE the customers with the relevant offer.

EDUCATE the customers about the offerings.

Help the consumers EXPERIENCE for the product, indirectly or directly.

ENGAGE with them on the common platform.

7 0
3 years ago
The following shared data structures must be declared as global variables such that they are shared by all threads
Elena L [17]

Answer:

what the heck

Explanation:

4 0
3 years ago
Based on this information, what is their gross income for six months? Roderick
alexira [117]
Multiply what he makes a month by six
8 0
2 years ago
Other questions:
  • Match each feature to whether it influences audio or video quality
    6·1 answer
  • Although the original BBS system was simple, it increased people's ability to communicate
    14·1 answer
  • Exit network systems, information support, and software development are all careers in which career cluster?
    10·1 answer
  • which type of classroom enable students to attend lectures without being physically present with the teacher
    14·2 answers
  • darren wants to substitute every occurence of the word bulky in his spreadsheet with the word strong. which of these options sho
    9·2 answers
  • Technologies have advanced to allow computer chips to be placed in almost anything and to be connected to a network almost anywh
    8·1 answer
  • What is the encryption cipher that was the precursor to des??
    5·1 answer
  • New Top Level Domains (TLDs) are coordinated by:_______.
    10·1 answer
  • Determine the exact output of the code $str = "The quick brown fox jumps over the the lazy dog"; echo strpos($str, 'fox');
    6·1 answer
  • Why it is not recommended to add sound effect on slide transition? Write at least two reasons.​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!