Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective To practice and learn the following coding skills: Using Comments (inline and multiline comments) Using Escape Sequence Characters (t. IL 1.In) Using built-in methods

image text in transcribed
image text in transcribed
Objective To practice and learn the following coding skills: Using Comments (inline and multiline comments) Using Escape Sequence Characters (t. IL 1.In) Using built-in methods for displaying texts on Console (WriteLine and Write) Respecting Coding Style (producing a tidy and clean source code: formatting, indentations, spaces...) Instructions Write a program that displays your initials in block characters along with other text on the console. It should look, for example, as the following screenshot. My program displays my initials (SM), your program must display your initials. For example, John Smith, will write a program to display his initials (JS). If the initials of your first name and last name are the same (e.g. Smith Smith), use the last second letter of your name (e.g. Program of Smith Smith will display S M instead of SS), the goal is that you make sure you practice using slash /and backslash (. Hence, make sure at least one of the letters uses slash and/or backslash (look how I drew letter S in my initial). If none of your initials has a rounded corner, choose the second or third... letter of your name that has rounded corner and use \or / . (These letters have rounded corners: B, C, D, G, J, O, P, Q, R, S, U) CSIS1175 - Assignment 1 - By Saeed Mirjalili - 0 X I am excited about writing my first program. I know "Practice Makes Perfect" Press a key... Requirements 1. Apart from the initials that are different for students, and the title of the console, the first two sentences (.e. I am excited... And I know "Practice..."), and one blank line on top (first line) and two blank lines before and 2 blank lines after initials must be as you can see in the snapshot. 2. The space between first block letter (S) and the second (M) must be a tab. Don't use many space characters (hint: use escape sequence character \t) 3. Use Write for displaying parts of the first letter (S) and WriteLine for displaying parts of the second (M) (Hint: I have used 5 Write methods and 5 WriteLine methods to display SM) 4. On very top of your program, before using directives, write a multiline comment and write the following: Programmer: (your name) Date: Fall 2019 Purpose: (explain the purpose of the program) 5. As first line of the body of Main method, write an inline comment and explain what your program executed. explain what your program does when it is 6. Pay attention to the double quotation marks around "Practice Makes Perfect". Your programmes (Hint: use the appropriate escape sequence character) 1. If one or both of your initials is/are a letter with round corners (like S. J. R, B, D, G corners (like S, J, R, B, D, G,...) use USE and / characters to snow round parts (As I did for S) Task you to do it on purpose to practice the way that you can show 6. Make sure your code looks neat and tidy. Press Ctrlak in Visual Studio to format your code based on con styles. y. The size of the block is not important. I have used 5 lines to display S and M and you can use 5 lines or more using more lines to display the block of your initials, lust increases your work and may not have more learning opportunity. Objective To practice and learn the following coding skills: Using Comments (inline and multiline comments) Using Escape Sequence Characters (t. IL 1.In) Using built-in methods for displaying texts on Console (WriteLine and Write) Respecting Coding Style (producing a tidy and clean source code: formatting, indentations, spaces...) Instructions Write a program that displays your initials in block characters along with other text on the console. It should look, for example, as the following screenshot. My program displays my initials (SM), your program must display your initials. For example, John Smith, will write a program to display his initials (JS). If the initials of your first name and last name are the same (e.g. Smith Smith), use the last second letter of your name (e.g. Program of Smith Smith will display S M instead of SS), the goal is that you make sure you practice using slash /and backslash (. Hence, make sure at least one of the letters uses slash and/or backslash (look how I drew letter S in my initial). If none of your initials has a rounded corner, choose the second or third... letter of your name that has rounded corner and use \or / . (These letters have rounded corners: B, C, D, G, J, O, P, Q, R, S, U) CSIS1175 - Assignment 1 - By Saeed Mirjalili - 0 X I am excited about writing my first program. I know "Practice Makes Perfect" Press a key... Requirements 1. Apart from the initials that are different for students, and the title of the console, the first two sentences (.e. I am excited... And I know "Practice..."), and one blank line on top (first line) and two blank lines before and 2 blank lines after initials must be as you can see in the snapshot. 2. The space between first block letter (S) and the second (M) must be a tab. Don't use many space characters (hint: use escape sequence character \t) 3. Use Write for displaying parts of the first letter (S) and WriteLine for displaying parts of the second (M) (Hint: I have used 5 Write methods and 5 WriteLine methods to display SM) 4. On very top of your program, before using directives, write a multiline comment and write the following: Programmer: (your name) Date: Fall 2019 Purpose: (explain the purpose of the program) 5. As first line of the body of Main method, write an inline comment and explain what your program executed. explain what your program does when it is 6. Pay attention to the double quotation marks around "Practice Makes Perfect". Your programmes (Hint: use the appropriate escape sequence character) 1. If one or both of your initials is/are a letter with round corners (like S. J. R, B, D, G corners (like S, J, R, B, D, G,...) use USE and / characters to snow round parts (As I did for S) Task you to do it on purpose to practice the way that you can show 6. Make sure your code looks neat and tidy. Press Ctrlak in Visual Studio to format your code based on con styles. y. The size of the block is not important. I have used 5 lines to display S and M and you can use 5 lines or more using more lines to display the block of your initials, lust increases your work and may not have more learning opportunity

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

ISBN: 3540416641, 978-3540416647

More Books

Students also viewed these Databases questions