This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(","); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
namespace HelloWorld | |
{ | |
class vendingMaschine | |
{ | |
static void Main() | |
{ | |
double N1 = double.Parse(Console.ReadLine())*0.05; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
namespace HelloWorld | |
{ | |
class vendingMaschine | |
{ | |
static void Main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Operators | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string a = Console.ReadLine(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
namespace Operators | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Numerics; | |
class PrintMyName | |
{ | |
static void Main() | |
{ | |
int n = int.Parse(Console.ReadLine()); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Numerics; | |
class Program | |
{ | |
static void Main() | |
{ |
OlderNewer