design a program that displays the initials. To do this, please write a function that prints...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
design a program that displays the initials. To do this, please write a function that prints the letters. Send the line number to the function as a parameter. According to that number, display your initials. If the line number is equal to 5, you can display your initials, otherwise write an error message. By the way, if you have more than two names, please select your first and last names' letters. (For example: Your name is Ayşe Fatma Hayriye Haydi Çiftetelliye Select first and the last ones, A and C, as your initials.) Sample Output 1: (My name is Merve Arıtürk. Initials: M & A, You need to use yours! If you use letters other than your own initials, you will not be graded.) printInitials (5) --> 5 is the line number of the output. Sample Output 2: print Initials (15) --> "15 is not valid.." design a program that displays the initials. To do this, please write a function that prints the letters. Send the line number to the function as a parameter. According to that number, display your initials. If the line number is equal to 5, you can display your initials, otherwise write an error message. By the way, if you have more than two names, please select your first and last names' letters. (For example: Your name is Ayşe Fatma Hayriye Haydi Çiftetelliye Select first and the last ones, A and C, as your initials.) Sample Output 1: (My name is Merve Arıtürk. Initials: M & A, You need to use yours! If you use letters other than your own initials, you will not be graded.) printInitials (5) --> 5 is the line number of the output. Sample Output 2: print Initials (15) --> "15 is not valid.."
Expert Answer:
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date:
Students also viewed these programming questions
-
1. Answer following 1 questions on the application of a design pattern. a. (5 points) You are designing a Car Racing video game such as Need for Speed or Forza Motor Sport. In your game, a user is...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The Julian calendar was a reform of the Roman calendar introduced by Julius Caesar in 46 BC (708 AUC). It took effect in 45 BC (709AUC). It was the predominant calendar in most of Europe, and in...
-
(a) Employing the intercept technique, determine the average grain size for the steel specimen whose microstructure is shown in Figure (a); use at least seven straight-line segments. (b) Estimate the...
-
(a) If 585 J of heat are added to 49 moles of a monatomic gas at constant volume, how much does the temperature of the gas increase? (b) Repeat part (a), this time for a constant-pressure process.
-
K&M International is considering modernizing its production facility by investing in new equipment and selling the old equipment. The following information has been collected on this investment:...
-
What is a preference share and why might a company favour this form of finance?
-
The shareholders' equity of Raven Company is as shown: Common stock, $ 10 par .............. $250,000 Additional paid-in capital on common stock ....... 150,000 Retained earnings ...................
-
How long must one wait for an initial investment of $1000 to double in value if the investment earns 8% compounded annually? The answer is 9.00 Years, how do you arrive at this answer?
-
Please review the State of West Virginia v. Keith O. Peoples case and respond to the following challenges: 1. The charge against Peoples was fraud, a criminal offense. Compare and contrast a criminal...
-
Periodic Inventory Using FIFO, LIFO, and Weighted Average Cost Methode The units of an item available for sale during the year were as follows Jan. 1 Aug. 13 Nov. 30 Inventory Purchase Purchase 30...
-
RGF Distributors sells fitness products to retailers. You are the accountant for RGF Distributors. RGF's fiscal year-end is December 31 and the company uses a perpetual inventory system, combined...
-
How is concentration of economic power dangerous in terms of security and democracy? How do "leakages" through international trade and finance reduce the government's ability to fight recessions?...
-
Beginning Inventory is 1/05 Sold 1/12 Inventory Purchased 1/19 Sold 1/22 Inventory Purchased 1/30 Sold 100 units with a cost of $4 45 Units at $6 50 units at $4.25 30 Units at $6 50 Units at $4.50 45...
-
There are nine complexity key concepts listed in Crowell & Boynton pp 20-23. Choose two of the key concepts and define the concepts. Apply these concepts to a leadership example from your own...
-
What are the sociocultural impacts of global sports events like the Olympics on host countries and the international community ? Explain
-
Discuss some of the common elements of tables and how you would approach the table design. Discuss the relationship types and how they affect your design. Explain primary key and foriegn key and the...
-
What kind of financial pressures can an LBO cause?
-
Pooling information from the output design and reviewing their progress, Chip and Anna proceed to the next stage, the design of input. Web pages must be designed to capture input information easily...
-
Explain how fit among the HCI elements of the human, the computer, and the tasks to be performed leads to performance and well-being.
-
What is the difference between a logical and physical data flow diagram?
-
Argue, using the adjacency matrix only, that the graph in Figure 1.6 (a) is not connected.
-
There is a function in the KnoxOR`Graphs` package called This command returns a list of all children of vertices in the given list of parents, where adjmatrix is the adjacency matrix of a directed...
-
Decide whether the following graph is (a) connected or (b) quasi-connected. ex12 = {{0, 1, 1, 0, 0}, {0, 0, 1, 1, 0}, {1, 0, 0, 0, 0}, (0, 0, 0, 0, 1}, {0, 1, 1, 1, 0}}; DisplayGraph[ex12, GraphType...
Study smarter with the SolutionInn App