SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
Barbara Dolye
Chapter:
Introduction To Computing And Programming
Exercise:
Programming Exercises
Question:3 | ISBN:9781285096261 | Edition: 4

Question

Print your name, school, and the year you plan to graduate. Place your name on one line and your graduation year on the second line. Be sure to include appropriate labels. For example, my information would look like the following,if I planned to graduate in 2017:
Name: Barbara Doyle
Graduation Year: 2017
School: Jacksonville University

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

Program:

using System;

namespace Exercise3
{
    class Program
    {
        static void Main(string[] args)
        {

            //Display output
            Console.WriteLine("Name: Barbara Doyle");
            Console.WriteLine("Graduation Year: 2017");
            Console.WriteLine("School: Jacksonville University");
        }
    }
}

 

Output:

Name: Barbara Doyle
Graduation Year: 2017
School: Jacksonville University

0 0

Discussions

Post the discussion to improve the above solution.