Skip to content

Instantly share code, notes, and snippets.

View IvanITD's full-sized avatar
“Building the future, one line of code at a time.”

Ivan Ivanov IvanITD

“Building the future, one line of code at a time.”
View GitHub Profile
@IvanITD
IvanITD / 6. Number in Range
Created December 7, 2022 23:43
Number in Range - Conditional Statements Advanced - Lab
using System;
namespace NumberInRange
{
internal class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 5. Small Shop (If Construction)
Created December 7, 2022 22:56
Small Shop - Conditional Statements Advance - Lab
using System;
namespace SmallShop
{
internal class Program
{
static void Main(string[] args)
{
string product = Console.ReadLine();
string city = Console.ReadLine();
@IvanITD
IvanITD / 4. Personal Titles (If Construction)
Created December 7, 2022 11:05
Personal Titles - Conditional Statements Advanced - Lab
using System;
namespace PersonalTitles_If_
{
internal class Program
{
static void Main(string[] args)
{
double years = double.Parse(Console.ReadLine());
char gender = char.Parse(Console.ReadLine());
@IvanITD
IvanITD / 3. Animal Type (Switch Construction)
Created December 7, 2022 10:50
Animal Type - Conditional Statements Advanced - Lab
using System;
namespace AnimalType_Switch_
{
internal class Program
{
static void Main(string[] args)
{
string animal = Console.ReadLine();
@IvanITD
IvanITD / 3. Animal Type (If Construction)
Created December 7, 2022 10:48
Animal Type - Conditional Statements Advanced - Lab
using System;
namespace AnimalType_If_
{
internal class Program
{
static void Main(string[] args)
{
string animal = Console.ReadLine();
@IvanITD
IvanITD / 2. Weekend or Working Days (Switch Construction)
Created December 7, 2022 10:26
Weekend or Working Days - Conditional Statements Advanced - Lab
using System;
namespace WeekendOrWorkingDay_Switch
{
internal class Program
{
static void Main(string[] args)
{
string days = Console.ReadLine();
@IvanITD
IvanITD / 2. Weekend or Working Days (If Construction)
Created December 7, 2022 10:25
Weekend or Working Days - Conditional Statements Advanced - Lab
using System;
namespace WeekendOrWorkindDay
{
internal class Program
{
static void Main(string[] args)
{
string days = Console.ReadLine();
@IvanITD
IvanITD / 1. Day of Week (Switch construction)
Created December 7, 2022 10:00
Day of Week - Conditional Statements Advanced - Lab
using System;
namespace DayOfWeek
{
internal class Program
{
static void Main(string[] args)
{
@IvanITD
IvanITD / 1. Day of Week (If Construction)
Last active December 7, 2022 10:00
Day of Week - Conditional Statements Advanced - Lab
using System;
namespace DayOfWeek
{
internal class Program
{
static void Main(string[] args)
{
int dayOfWeek = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 8. Lunch Break
Last active November 30, 2022 20:01
Lunch Break - Conditional Statements - Exercise
using System;
namespace LuchBreak
{
internal class Program
{
static void Main(string[] args)
{
string seriesName = Console.ReadLine();
int episodeDuration = int.Parse(Console.ReadLine());