Skip to content

Instantly share code, notes, and snippets.

View nasko90's full-sized avatar

Atanas Drenovichki nasko90

View GitHub Profile
import java.util.Scanner;
public class GameOfBotles {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("How many botles are on the field? ");
int n = input.nextInt();
int stepsX = 0;
import java.util.Scanner;
public class HeadAndTails {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println(" Write down the results from fliping the coin, separated by coma: 'H' for heads win, 'T' for tails win ");
String result = input.nextLine();
String [] resultArray = result.split(",");
import java.util.Scanner;
public class Lakes {
public static void main (String [] args){
Scanner input = new Scanner (System.in);
System.out.println("What is the structure of the lake ? Use 'd' for down , 'u' for up, and 'h' for horizontal");
String lake = input.nextLine();
String [] lakeArray = lake.split("");
using System;
using System.Globalization;
namespace HelloWorld
{
class vendingMaschine
{
static void Main()
{
double N1 = double.Parse(Console.ReadLine())*0.05;
using System;
using System.Linq;
namespace HelloWorld
{
class vendingMaschine
{
static void Main()
{
using System;
namespace Operators
{
class Program
{
static void Main(string[] args)
{
string a = Console.ReadLine();
using System;
using System.Linq;
namespace Operators
{
class Program
{
static void Main(string[] args)
{
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"><title>K9book</title></head>
<body style="background-color:#55E6F1;">
<h1><strong><b> Pongo Social Network </b> </strong></h1>
<p></p><ul style="list-style-type:disc">
<li><a href="file:///C:/Users/pc/Desktop/home.html">Home</a> </li>
<li><a href="file:///C:/Users/pc/Desktop/profile.html">Profile</a> </li>
<li><a href="file:///C:/Users/pc/Desktop/friends.html">Friends</a> </li>
</ul> <p></p>
using System;
using System.Numerics;
class PrintMyName
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
class Program
{
static void Main()
{