Database Identification System for Alloys. Write a computer program that will ask the user to input a

Question:

Database Identification System for Alloys. Write a computer program that will ask the user to input a three- or four-digit code for aluminum alloys (Table 14-3). You will have to ask the user to provide one digit at a time or figure out a way of comparing different digits in a string. This will be followed by a letter and a number (e.g., T and 4). 

The program should then provide the user with some more detailed information about the type of alloy. For example, if the user enters 2024 and then T4, the program should provide an output that will specify that 

(a) The alloy is wrought type, 

(b) Cu is the major alloying element (since the first digit is 2), and 

(c) It is naturally aged. Do not make the program too complex. The main idea here is for you to see how databases for alloys are designed.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

The Science And Engineering Of Materials

ISBN: 9781305076761

7th Edition

Authors: Donald R. Askeland, Wendelin J. Wright

Question Posted: