Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how to create and utilize string variables utilize string operators and indices Computer literacy is a standard in most elementary school grades in Indiana. This

how to create and utilize string variables
utilize string operators and indices
Computer literacy is a standard in most elementary school grades in Indiana. This means that students as young as 5 have to be able to login and access their school's computer network, including a username and password. To make this simple most schools create both usernames and passwords created from the student's first name, middle name, last name, and parent's phone number. Write a program that will generate a user name and password from the given information. The user name should consist of the first 6 letters of their last name, the first letter of their first name, and the first letter of their middle name. The password should be the first 2 letters of their first name, the first 3(human) even letters of their middle name (as many as possible), and the last 4 numbers of their parent's phone number. Be certain to print the student's user name and password to the terminal.
a. Linus Benedict Torvalds, (317)-555-1969
b. Alan Mathison Turing, (317)-555-5346
c. Stephan Gary Wozniak, (317)-555-3720
d. Adele Goldberg, (317)-555-2345
image text in transcribed

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

Step: 3

blur-text-image

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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions