This C# program assignment requires that you write and call two programmer defined methods as described below: Method #1 (MyAddress) – this programmer defined method should output your name and address in a mailing label format. This method does not require any parameters, and will not return any value. Method #2 (AddressOut) – this programmer defined method should have three string parameters (name, address, and city‐state‐zip) and should output the passed parameters in mailing label format. This method will not return any value. Your Main() method for this program should consist of two lines of code – calls to each of the methods. Here is an example of the code in my Main() method MyAddress();  AddressOut(“Tim Jones”, “123 Main St.”, “East Brunswick, NJ 08816”);

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 12PE
icon
Related questions
Question

This C# program assignment requires that you write and call two programmer defined methods as described below:
Method #1 (MyAddress) – this programmer defined method should output your name and address in a mailing label
format. This method does not require any parameters, and will not return any value. Method #2 (AddressOut) – this
programmer defined method should have three string parameters (name, address, and city‐state‐zip) and should output
the passed parameters in mailing label format. This method will not return any value. Your Main() method for this
program should consist of two lines of code – calls to each of the methods. Here is an example of the code in my Main()
method
MyAddress(); 
AddressOut(“Tim Jones”, “123 Main St.”, “East Brunswick, NJ 08816”); 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
void method
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT