76 331
Assignments Done
Successfully Done
In May 2019

Answer to Question #15858 in C# for sidneybarros

Question #15858
// ask the user to enter how many years they had

// ask the user to enter the hobbies or interest they have
// Display how many years they had

// Display the hobbies or interest they have

// need to be put in so the display will remain until you hit the enter key
Expert's answer
using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace ConsoleApplication


class Program


static void Main(string[] args)


Console.Write("How old are you?

string age = Console.ReadLine();

Console.Write("What hobbies or interest you have?

string hobbie = Console.ReadLine();

Console.WriteLine("Age: " + age);

Console.WriteLine("Hobbie: " + hobbie);





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions