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 / 7. Shopping
Created November 30, 2022 01:26
Shopping - Conditional Statements - Exercise
using System;
namespace Shopping
{
internal class Program
{
static void Main(string[] args)
{
double peturBudget = double.Parse(Console.ReadLine());
int gpuAmount = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 6. World Swimming Record
Last active November 29, 2022 21:59
World Swimming Record - Conditional Statements - Exercise
using System;
namespace WorldSwimRecord
{
internal class Program
{
static void Main(string[] args)
{
double recordInSeconds = double.Parse(Console.ReadLine());
double distanceInMeters = double.Parse(Console.ReadLine());
@IvanITD
IvanITD / 5. Godzilla vs. Kong
Created November 29, 2022 00:20
Godzilla vs. Kong - Conditional Statements - Exercise
using System;
namespace GodzillaVS.Kong
{
internal class Program
{
static void Main(string[] args)
{
double movieBudget = double.Parse(Console.ReadLine());
int supernumeraryAmount = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 4. Toy Shop
Created November 28, 2022 23:31
Toy Shop - Conditional Statements - Exercise
using System;
using System.Reflection.Metadata.Ecma335;
namespace ToyShop
{
internal class Program
{
static void Main(string[] args)
{
double tourPrice = double.Parse(Console.ReadLine());
@IvanITD
IvanITD / 3. Time + 15 Minutes
Created November 28, 2022 19:52
Time + 15 Minutes - Conditional Statements - Exercise
using System;
namespace Time_15Minutes
{
internal class Program
{
static void Main(string[] args)
{
int myHours = int.Parse(Console.ReadLine());
int myMinutes = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 2. Bonus Score
Created November 28, 2022 10:44
Bonus Score - Conditional Statements -Exercise
using System;
namespace BonusScore
{
internal class Program
{
static void Main(string[] args)
{
int startupNumber = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 1. Sum Seconds
Created November 28, 2022 07:59
Sum Seconds - Conditional Statements - Exercise
using System;
namespace Sum_Seconds
{
internal class Program
{
static void Main(string[] args)
{
int firstTime = int.Parse(Console.ReadLine());
int secondTime = int.Parse(Console.ReadLine());
@IvanITD
IvanITD / 7. Area of Figures
Last active November 28, 2022 07:59
Area of Figures - Conditional Statements - Lab
using System;
namespace Area_of_Figures
{
internal class Program
{
static void Main(string[] args)
{
string figureType = Console.ReadLine();
@IvanITD
IvanITD / 6. Speed Info
Created November 23, 2022 21:48
Speed Info - Conditional Statements- Lab
using System;
namespace Speed_Info
{
internal class Program
{
static void Main(string[] args)
{
double num = double.Parse(Console.ReadLine());
@IvanITD
IvanITD / 5. Nums 100 To 200
Created November 23, 2022 21:12
Nums 100 To 200 - Conditional Statements - Lab
using System;
namespace Nums_100_to_200
{
internal class Program
{
static void Main(string[] args)
{
int num = int.Parse(Console.ReadLine());