TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Barbara Barbara
NA
55
870
Create a program with a questions
Apr 10 2020 5:09 AM
Hello!
i want to create a program at the beginning greet me and ask me which exercise I want to perform by telling me you can choose from 1 to (where I arrived). once chosen he writes me the description (summary)of what the exercise does and asks me to continue, then the little program I made starts. At the end of the execution he asks me if I want to close or continue with another exercise, if I choose to continue I must choose the exercise I want to do and so on. Can u help please?
static void Main(string[] args)
{
//Esercizio1();
//Esercizio2();
//Esercizio3();
}
/// <summary>
/// Stampa ciao e nome su due righe
/// </summary>
public static void Exercise1()
{
Console.WriteLine("Ciao");
Console.WriteLine("World");
Console.WriteLine("");
Console.WriteLine("the end...");
Console.ReadLine();
}
/// <summary>
// stampare la somma di 2 numeri
/// </summary>
public static void Exercise2()
{
Console.WriteLine(40 + 20);
Console.ReadLine();
}
Reply
Answers (
1
)
Assign custom color to console.background
All Rating display Scored with Bar design in asp.net C#