Skip to content

Instantly share code, notes, and snippets.

View seddik's full-sized avatar
🎯
Focusing

LARABA MOHAMMED SEDDIK seddik

🎯
Focusing
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace salary
{
class Program
{
string width = Console.ReadLine();
if(width>20)
{
Console.WriteLine("Sorry you can't park in this garage, you truck is too wide :(");
}
else
{
Console.WriteLine("All is ok, you can park safely, and don't forget to turn your engine off :)");
}
@seddik
seddik / yacine_02092014
Last active August 29, 2015 14:06
yacine_02092014
static void Main(string[] args)
{
Console.Write("Entrer botre : ");
string my_line = Console.ReadLine();
int mon_num = int.Parse(my_line);
Console.WriteLine(mon_num * 2);