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; | |
class apples{ | |
public static void main(String args[]){ | |
Scanner calculator = new Scanner(System.in); | |
double n1, n2, n3; | |
System.out.println("The Calculator can make a sum of 2 numbers."); | |
System.out.print("Number 1 - "); | |
n1 = calculator.nextDouble(); | |
System.out.print("Number 2 - "); |
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
program Project1; | |
uses sysutils; | |
var twitter:String; | |
var num18,num17,num16,num15,num14,num13,num12,num11,num10,num9,num8,num7,num6,num5,num4,num3,num2,num1,num:Int64; | |
begin | |
num:=1111111111111; //the starting number I used for searching. The action starts around 200 billion numbers later, but I kept it for the sake of archival | |
Repeat | |
inc(num,1); | |
twitter:=''; | |
num1:= num mod 10; |