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
few toffees were distributed among oriya , piyush and payal . priya got 3/8 , piyush and payal 1/8 and 1/2 of total toffees resp
ohaa [14]

Answer:

it is payal because 1/2 is a half

Explanation:

there you go

6 0
2 years ago
if a user has one column in a table and would like to make it into two columns which command should be used
BlackZzzverrR [31]
Don't know asdfghjklpoiuytrewqzxcvbnm,
4 0
3 years ago
What is the best wi-fi name you have ever seen?
elena-s [515]

Answer:

bill wi the science fi

Explanation:

8 0
2 years ago
You just recently opened a business that will be selling items on the Internet. You don’ t actually have a physical store that p
Ivanshal [37]

Answer:

Explanation:

Shipping fee is based on the weight of the item purchased

Name of the store- MIMI Electronics

Items sold- Consumer electronics, mobiles phones, laptops, wearable devices, accessories, digital watches etc

Shipping charges-

Weight Shipping fee

0-1 kg $      5.00

1-2 kg $   10.00

2-4 kg $   15.00

4-7 kg $   20.00

7-10 kg $   30.00

10 kg + $   50.00

Shipping fee function

F(x)= 5 for all x [0,1]

F(x)= 10 for all x (1,2]

F(x)= 15 for all x (2,4]

F(x)= 20 for all x (4,7]

F(x)= 30 for all x (7,10]

F(x)= 50 for all x (10,infinity)

shipping charge function is a step function where the steps are mentioned in terms of weight.

Shipping charge could also be determined using a piece wise function where the shipping fee is fixed for each piece and is charged based on number of pieces ordered instead of weight of the order

5 0
2 years ago
A software program that includes tools for entering, editing, and formatting text and graphics is called a word processing progr
shtirl [24]

i think the answer is true

7 0
2 years ago
Other questions:
  • Use cases can be used to document both the current (As-Is) system and the future (To-Be) system. A. True B. False
    13·1 answer
  • Give some examples of CyberCrime
    9·1 answer
  • The chemical symbol H represents which of the following elements?
    9·2 answers
  • What three things in the third generation of computing helped get programming enthusiasts more involved with computers? Select 3
    12·2 answers
  • Design a class called NumDays. The class’s purpose is to store a value that represents a number of work hours and convert it to
    12·1 answer
  • After conducting interviews with several bad candidates, Althea, a manager at Langrover Inc. interviewed a candidate who was bet
    15·1 answer
  • Write a program to generate following series in qbasics 100,81,64,....1​
    13·1 answer
  • The Last Free brainliest<br><br> This Is The Last Brainliest That Im Doing Forever Sorry Guys
    8·2 answers
  • Assert statements are a tool programmers employ to help them debug their code more efficiently.
    6·1 answer
  • How do you declare variables in c program
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!