Answer:
Bjarne Stroustrop published the first reference guide for C++
Explanation:
Bjarne Stroustrop is a computer scientist who created the C++ programming language while working at the AT&T Bell laboratory. He also published the first reference guide for the programming language.
In October 1985, the book, The C++ Programming Language, was published. It describes the c++ programming language and was the only documentation and reference guide for the programming language at the time. Newer editions have since been published.
Answer:
See explaination
Explanation:
E-R diagram:
Entity Relationship Diagram, also known as ERD, ER Diagram or ER model, is a type of structural diagram for use in database design. An ERD contains different symbols and connectors that visualize two important information: The major entities within the system scope, and the inter-relationships among these entities.
Please kindly check attachment for for the ERD of the question asked.
B, C, and D are the correct answers.
Answer:
The solution code is written in Python 3
- digits = input("Enter 9 digits: ")
-
- multiplier = 1
- total = 0
-
- for x in digits:
- total += int(x) * multiplier
- multiplier += 1
-
- checksum = total % 11
-
- if(checksum == 10):
- print(digits + "X")
- else:
- print(digits + str(checksum))
Explanation:
Firstly, use input function to get user input for 9 digits (Line 1)
Next we can use a for-loop to estimate the summation (d1 * 1 + d2 * 2 + d3 * 3 + d4 * 4 + d5 * 5+ d6 * 6 + d7 * 7 + d8 * 8 + d9 * 9) ( Line 6-8)
Then only apply % operator to get the remainder of total and get the checksum (Line 10)
Next create if and else statement to print the digits string joined with X if checksum is 10 else join digits string with checksum value (Line 12 -15)
This site is only for education related questions. You should only answer or ask questions. That's what we are here for. Whoever is reading this answer, please spread it to stop people from zooming, hurting others, or just posting non-related to education questions. Thank you.