is it ok to post it like that? Also is my first time and im 10 years old so pls corect me if im wrong with something
using System;
namespace Primul_program
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Hi";
Console.ForegroundColor = ConsoleColor.Green ;
Console.Write("Wanna see a magic trick?");
double num01;
double num02;
double num03;
Console.Write("Say a number: ");
num01 = Convert.ToDouble ( Console.ReadLine() );
Console.Write("Now another one: ");
num02 = Convert.ToDouble ( Console.ReadLine() );
Console.WriteLine("And another one.");
num03 = Convert.ToDouble ( Console.ReadLine() );
double result = num01 + num02 + num03 ;
double finalResult = result/3;
Console.WriteLine("So i calculated in a way that I will find the average of these three numbers and the average of them is " + finalResult );
Console.WriteLine("Silly me.I forgot to ask your name.So whats your name?");
string userName = Console.ReadLine();
Console.WriteLine("I like the name " + userName +" .It is nice.My name is Andrew.");
Console.Write("Sooo...what now?");
Console.Write("Oh i know:a story.");
Console.WriteLine("Uhm.. so lets say that our hero,named(pst, now you say a name)");
string heroName = Console.ReadLine();
Console.WriteLine(heroName + ", I think we can go with that.");
Console.WriteLine("Now say a location.");
string placeName = Console.ReadLine();
Console.WriteLine("Where were we?Oh right.So " + heroName + " is at a place named " + placeName + ".");
Console.WriteLine("Now im gonna end bc I ran out of imagination.");
Console.WriteLine("Bye " + userName + ".See?I did not forget your name.");
//wait before close
Console.ReadKey();
}
}
}