Create unique code according to the given requirements

Assignment Help Basic Computer Science
Reference no: EM131567897

Question: For the discussion, create unique code that does at least the following:

1) The code should take as input a person's first name, last name, 6 digit ID number, phone number, and date of birth. The code should tell the User that the phone number format should be xxx-xxx-xxxx.

2) The code should validate that the ID contains only digits and is exactly six digits. If it is valid, the code should note that it is valid and it should continue to the next steps noted below. If not valid, it should ask the User to re-enter a proper ID and then it should check it again, and continue to the next steps below.

3) The code should print the number of letters in the Users first name.

4) The code should print the phone number with "." rather than dashes.

5) The code should print the Users birth month as a String.

(Include the code and the .exe)

Write your own code :)

Reference no: EM131567897

Questions Cloud

Diversified portfolio reduce unsystematic risk : Why does a diversified portfolio reduce unsystematic (business) risk but have no impact on systematic (market) risk?
Determine the amount of operating cash flows : During the current year a company provides services on account for $180,000. Determine amount of operating cash flows the company will report in current year
Widespread and anonymous access : The internet has given widespread and anonymous access (free or paid) to publisher test banks.
Explain the phrase colonialism legacy : Explain the phrase “Colonialism’s Legacy”.
Create unique code according to the given requirements : The code should take as input a person's first name, last name, 6 digit ID number, phone number, and date of birth.
Internal rate of return of the project with cash flows : And what is the internal rate of return (IRR) of the project with cash flows?
Why corporate governance function consider finance function : Why must a financial manager have an integrated understanding of the five basic finance functions?
Discuss the field of population research : I am a graduate of the Institute of Social Work in Egypt and I work in the field of population research and studies as a data collector and supervisor of field.
Calculate the yield using geometric average : what does the market believe that 2-year securities will be yielding 4 years from now? Calculate the yield using a geometric average.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd