Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program in IDLE: At a university, each student is assigned a system login name, which the student uses to log into the campus computer system.

Program in IDLE:

At a university, each student is assigned a system login name, which the student uses to log into the campus computer system. As part of your internship with the university's Information Technology department, you have been asked to write the code that generates system login names for students. You will use the following algorithm to generate a login name:

1) Get the first 3 characters of the student's first name.

2) Get the first 2 characters of the student's last name.

3) Get the last four digits of the student's ID number For example, if a student's name is Amanda Spencer and her ID number is 2566721, her login name would be AmaSp6721. Write a program that asks the user for a first name, last name, and ID number, and then displays the login name.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions