Engineering, 16.04.2021 08:50 Braxtonw875
Write a program that asks the user to enter an account number as a string. The account number consists of 8
characters and is divided as follows:
The first 2 characters are digits and represent the branch (00 for Beirut, 01 for Saida, 02 for Tripoli).
The remaining 6 characters represent the customer’s account number
A valid account number consists of exactly 8 characters. If the account is valid, the program prints the details
(branch and account number). If the account is not valid, the program displays a message to the user.
Sample Run 1:
Enter a string: 100201
Not valid
//It is not valid because the string is not composed of 8 characters
Sample Run 2:
Enter a string: AB100201
Not valid
//It is not valid because the branch is wrong
Sample Run 3:
Enter a string: 00100201
Branch: Beirut
Customer number: 100201
Sample Run 4:
Enter a string: 0210AB01
Branch: Tripoli
Customer number: 10AB01
Answers: 2
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
Engineering, 04.07.2019 18:10
Which of the following components of a pid controlled accumulates the error over time and responds to system error after the error has been accumulated? a)- proportional b)- derivative c)- integral d)- on/off.
Answers: 2
Engineering, 04.07.2019 18:10
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
Engineering, 04.07.2019 18:10
Courses that are developed by subject matter experts, internal or extemal to the college or university. these programs are marketed by the school (clo2) marks a)-vocational schools b)-vendor training c)-colleges & universities d)-continuing education programs
Answers: 2
Write a program that asks the user to enter an account number as a string. The account number consis...
Computers and Technology, 20.10.2020 02:01
Mathematics, 20.10.2020 02:01
English, 20.10.2020 02:01
Chemistry, 20.10.2020 02:01
English, 20.10.2020 02:01
Mathematics, 20.10.2020 02:01
Mathematics, 20.10.2020 02:01
Computers and Technology, 20.10.2020 02:01
Mathematics, 20.10.2020 02:01