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...
-
Solve the system of linear equations S1.2x + 2.4y = .6 14.8y 1.6x = 2.4.
-
Jessica Boland works for Sea Biscuit Co. She and Farah Smith, her manager, are preparing adjusting entries for annual financial statements. Boland computes depreciation and records it as Depreciation...
-
Fill in the Blank. The Timoshenko beam theory can be considered as __________ beam theory.
-
Accounting for a main product and a byproduct. (Cheatham and Green, adapted) Tasty, Inc., is a producer of potato chips. A single production process at Tasty, Inc., yields potato chips as the main...
-
Write a main function/program that repeatedly generates and prints random integers in the range [1, 100]. The program must stop when the distance between successive printed values is less than 5. Two...
-
Light-It-Up Company maintains and repairs warning lights, such as those found on radio towers and lighthouses. Light-It-Up Company prepared the following end-of-period spreadsheet at August 31, 20Y5,...
-
Advise Tom on any defense / defenses available to him.? Rani was driving her 8 year old son, Robbie, to school when they met with an accident. She was driving along Jalan Cikgu when a car driven by...
-
Distinguish between an intercept dummy and a slope dummy. Provide a definition of both and examples of models that would incorporate each.
-
As the issue of global climate change comes to the fore in international discussions, and as countries attempt to find solutions for climate change, attention frequently turns to the Kyoto Protocol....
-
A builder agreed to build 78 houses in eight months at a fixed price. Due to bad weather conditions and unexpected labor shortages, the work took 22 months and cost $107,000 more than anticipated....
-
True or False: If the before-tax \(\mathrm{WACC}=5.4 \%\) and the income tax rate is \(40 \%\), then the after-tax \(\mathrm{WACC}=9 \%\).
-
A drummer engaged to play for a pop group was contractually bound to work seven nights a week. After falling ill, Jacks doctor advised he work only four nights a week. It became necessary for the pop...
-
Suppose instead, Evergreen follows a stable dividend policy and declares a $2.00 per share dividend. The holder of record date is January 10, 2022, and the payment date is January 31, 2022. Emily...
-
Suppose you are comparing just two means. Among the possible statistics you could use is the difference in means, the MAD, or the max min (the difference between the largest mean and the smallest...
-
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?
-
For the conditions of Sample Problem 5/17, determine the angular acceleration of \(A C\) and the acceleration of \(A\) relative to the rotating slot in \(\operatorname{arm} O D\). Problem 5/17, The...
-
Aircraft \(B\) has a constant speed of \(150 \mathrm{~m} / \mathrm{s}\) as it passes the bottom of a circular loop of 400-m radius. Aircraft \(A\) flying horizontally in the plane of the loop passes...
-
Examples of random variables used in this chapter included (a) the sex of the next person you meet, (b) the number of times a wireless network fails, (c) the time it takes to commute to school, (d)...
Study smarter with the SolutionInn App