Ok Jow Forums, it's time

Ok Jow Forums, it's time.
Count from 1 to 10 in the language of your choice.

Attached: 1206746310799.jpg (600x450, 27K)

you just did

Console.WriteLine("10");
Console.WriteLine("9");
Console.WriteLine("8");
Console.WriteLine("6");
Console.WriteLine("5");
Console.WriteLine("4");
Console.WriteLine("3");
Console.WriteLine("2");
Console.WriteLine("1");


EASY BOY

PROGRAM COUNT
INTEGER n

DO 10 n = 1, 10
WRITE(*,*) n
10 CONTINUE
END

Do it again. Except better.

CHILL

for i = 1 to 10
msgbox i
next i

Yksi Kaksi Kolme Neljä Viisi Kuusi Seitsemän Kahdeksan Yhdeksän Kymmenen

Print 1
Print 2
Print 3
Print 4
Print 5
Print 6
Print 7
Print 8
Print 9
Print 10

seq 10

as expected of a poo-grammer using a poo language
in all seriousness I had to use C# at some point to feed myself and I unironically almost offed myself because of how disgusting it is and how miserable it made me

disp(1:10)

rate my Matlab skills

Un
Deux
Trois
Quatre
Sinq
Six
Sept
Huit
Nuef
Dix

LOG.error ("1 2 3 4 5 6 7 8 9 10");

for(i=1; i

num = 1
while num

一二三四五六七八九十

何を勝つか?

Hass
Gel'
Rutt
Thor
Hitt
Cef
Bant
Ul'bant
Khuf
Glatt

for i = 0; i < 10; i++;
print(i);

1..10

Attached: 068.png (235x185, 4K)

10 0 do i . loop

Now count by twos

#!/bin/bash

i_starting_number=1
i_ending_number=10
i_current_number="$i_starting_number"

if [ "$i_starting_number" -le "$i_ending_number" ]
then
while [ "$i_current_number" -le "$i_ending_number" ]
do
echo "$i_current_number"
let i_current_number=i_current_number+1
done
fi

int i;
i = 1;
for(i; i < 11; i++) {
whateverprintfunction(i)
}
There, that covers most languages.

#include

int count(int x)
{
if (x == 0) {
return;
}
count(x - 1);
printf("%d\n", x);
}

int main(void)
{
count(10);
return 0;
}

mapM_ print [1..10]

Swift.
for index in 1...10 {
print(index)
}

Attached: 1528402941373.jpg (640x960, 75K)

#include
int i;
int main() {
for (i=1; i

Just graduated from my 2 week code camp, what do you think?

const countToTen = require("countToTen");
countToTen(function(status){
if (staus == "error"){
console.log("Ya dun goofed");
} else {
console.log("Counting to ten successful");
}
});

binary to english

1, 2

done

XD

#include

int main () {

for (int x = 1; x < 11; x++)
std::cout

Attached: aJyqjGz.png (526x351, 183K)

for (i = 0; i < 10; i++)
{
Messagebox.Show("i");
}

>Nuef
YUou are FAILURE

>binary
>2

#include

int main(int argc, char const *argv[]) {
printf("1\n");
printf("2\n");
printf("3\n");
printf("4\n");
printf("5\n");
printf("6\n");
printf("7\n");
printf("8\n");
printf("9\n");
printf("10\n");
return 0;
}

>language of your choice.
no hes counting 1 to 10 in english
assuming that the original text was in binary
idiot

123456789TEN

for i in range(1, 11):
print i

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9].forEach((number) => console.log(number));

I II III IV V VI VII VIII IX X

one, two, three, four, five, six, seven, eight, nine, ten

take 10 [1..]

Working with a legacy codebase written by idiots is a suicide inducing task in any language.

Greenfield C# with competent co-worker is a dream come true. That means you too, Mr. "I only learned enough to squeak by and I was disgusted by how shit my code was because I didn't actually get the language".

ett två tre fyra fem sex sju åtta nio tio

msgbox 1`n2`n3`n4`n5`n6`n7`n8`n9`n10

Attached: ss (2018-06-15 at 22.06.46).png (128x246, 4K)

loop 10
msgbox %A_Index%

Attached: ss (2018-06-15 at 22.09.31).webm (122x100, 147K)

on the contrary, it made me miserable because I couldn't do it properly
I'm a C/assembly fag, I like to write fast non-bloated code, it simply wasn't possible with C#, given how obfuscated and bloated everything around it is
it was especially infuriating that what I was implementing did not benefit at all from being written in C#, it was done simply to accommodate brainlets at the company
I despise black boxes, and you can blame it on autism but I'm never coming close to anything Microsoft ever again

::count::1 2 3 4 5 6 7 8 9 10

Attached: ss (2018-06-15 at 22.13.59).webm (356x86, 34K)

I was more offended by
>Sinq

#persistent on
SetTimer, Count, 1000
return

Count:
i++
tooltip %i%
if (i > 10)
ExitApp
return

Attached: ss (2018-06-15 at 22.21.19).webm (468x282, 500K)

function* range(from, to) { for (; from < to; ++from) yield from; }

for (const number of range(1, 11)) console.log("%d", number);

Romeo and Juliet learn to count numbers from 1 to 10.

Romeo , Helps in the process of counting.
Juliet, Starts from 1 and moves steadily to 10.

Act I: The counting machine.

Scene I: Decides to study number counting.

[Enter Romeo and Juliet]

Juliet: You are as bold as the square of the sum of a
mighty handsome brave king and a noble Lord.

Romeo: You are as lovely as a rose.

Scene II: Checks who is the fast learner.

Romeo: Open your heart.
Am I better than you?

Juliet: If not, let us proceed to Scene III.
You are as honest as the square root of yourself.
Speak your mind.

Romeo: You are as sweet as the sum of yourself and a plum.

Juliet: You are as gentle as the square of yourself.
Let us return to Scene II.

Scene III: Reaches an agreement.

Juliet:
You are as trustworthy as the square root of yourself.
Speak your mind.
[Exeunt]

>first install arch linux

1
2
3
4
jackie chan
6
7
8
9
10

lol you can declare an unsafe region and do retarded pointer hacking all day if you're really that autistic. Have fun with your overflows and segfaults. You will absolutely write tons of them using any unsafe language.
Also C# is anything but a black box. The language, compiler and runtime are open source.

You really sound like a brainlet. That, or just young.

I never said it wasn't possible, I said the language isn't designed for it
It's designed for programmers who don't want to bother with optimization or low level operations, more often than not, the code turns out to be extremely bloated because that's the language philosophy
I'm not arguing that C is superior or C programmers are better, both have their uses, I just don't like it for these reasons

```
(() => {
require('countzio')(10)(console.log);
})()

Enumerable.Range(1, 10).All( (i) => { Console.WriteLine(i); return true; } );

section .text
global main
extern printf

main:
mov ebx,10
loop: push ebx
push message
call printf
dec ebx
jnz loop
add esp,80
ret

message db "Value = %d",10,0

print (range(0, 11))

I use "unsafe" stuff in C# all the time and never get any problems that I can't fix right away
I'm also autistic though

I just started learning...

for i in range(1, 11):
print(i)

Why do you guys make it so complicated?

Viens divi trīs četri pieci seši septiņi astoņi deviņi desmit

for index in range(1...10) {
print(index)
}

user@home$ cat count.txt
1
2
3
4
5
6
7
8
9
10

I've probably got this wrong. If I need to powershell anything I usually plagiarise it.

$count = 1..10 | ForEach-Object {Write-Host "$_"}

C# and other high level languages are optimized for correct code and expressiveness. This is far more valuable than keeping out all bloat. That "bloat" is actually just an abstraction that's been proven correct so we can rely on it. C abstracts you from the instruction set, C# abstracts you from far more.

Also you can write close to C fast code in both C# and Java pretty easily for trivial problems (within 10%), but as soon as you step into complex problems involving threading, or the codebase becomes large, it's actually FAR easier to write fast C# and Java code than C, and you are also guaranteed safe threading and memory access.

Writing fast code is really about producing a good algorithm and avoiding platform issues like branch mispredictions and cache misses, not about using the fewest instructions.

You should rethink your philosophy around time. Are you spending 2x time writing code to shave factions of a second off of runtime? That's not a good economy unless you're Google running the program a billion times.

it will spam 10 messageboxes, from 0 to 9

Also there is no number 7, and it "counts" from 10 to 1

1
2
3 4

Vim :^)
9o :%!nl

being the actual escape button

enterprise matlab skill coming through
x1 = input("please enter 1")
x2 = input("please enter 2")
x3 = input("please enter 3")
x4 = input("please enter 4")
x5 = input("please enter 5")
x6 = input("please enter 6")
x7 = input("please enter 7")
x8 = input("please enter 8")
x9 = input("please enter 9")
x10 = input("please enter 10")

disp(x1,x2,x3,x4,x5,x6,x7,x8,x9,x10)

Came here to post this.

Attached: sc.png (478x198, 9K)

#include

// This function count to ten just for fun ^_^
int main(int argc, char const *argv[]) {
printf("1\n");
printf("2\n");
printf("3\n");
printf("4\n");
printf("5\n");
printf("6\n");
printf("7\n");
printf("8\n");
printf("9\n");
printf("10\n");
printf("11\n"); //printed 11 because I'm random tehehe

// We are now done with the function so we return 0
return 0;
}

itchy
knee
sun
gee
go
rocku
sitchi
hachee
kyu
jew

for (int i = 1; i < 11; i++) {
Console.WrteLine(i);
}

[CODE]
10 REM COUNT TO TEN
20 LET N = 1
30 IF N = 1 THEN PRINT "1"
40 IF N = 2 THEN PRINT "2"
50 IF N = 3 THEN PRINT "3"
60 IF N = 4 THEN PRINT "4"
70 IF N = 5 THEN PRINT "5"
80 IF N = 6 THEN PRINT "6"
90 IF N = 7 THEN PRINT "7"
100 IF N = 8 THEN PRINT "8"
110 IF N = 9 THEN PRINT "9"
120 IF N = 10 THEN PRINT "10"
130 LET N = N + 1
140 IF N = 11 THEN GOTO 160
150 GOTO 30
160 END
[/CODE]

Attached: tumblr_n1xqioSuNQ1rtn72to1_250.gif (245x300, 744K)

[n for n in range(1, 11)]
]

>Sinq

>Dix

Based.

(each print [1 10])

>[0, 1, 2, 3, 4, 5, 6, 7, 8, 9].forEach(console.log);

One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten

n = [1,2,3,4,5,6,7,8,9,10]
for i in range (0,10):
if n[i] % (i + 1) == 1:
print i
elif n[i] % 1 == 0:
print i + 1
i = i - 1
i = i + 1

EZ

why live when u cant bang one of those

p *1..10

Attached: ruby smug.png (200x200, 43K)

[print(i+1) for i in range(10)]

(for-each println (range 1 11))

[print(str(n)+"\n") for n in xrange(1,10)]

there are 2 hard problems in computer science:
cache validation
naming things
and off by 1 errors

Kek

damn you ruby stop being so smug

1 2 3 4 5 6 7 8 9 10
:w

This isn't even bait. This is actually how webshits program.

Attached: 1507150722491.jpg (314x267, 11K)

Eins
Zwei
Drei
Vier
Fünf
Sechs
Sieben
Acht
Neun
Zehn

een
twee
drei
vier
five
six
nana/shichi
hachi
kyu
00001010

kek

>master race answer

.

echo {1..10}

Bash is my favorite but only because I use bash more than anything else.

>the binary answer

What is this? Quick searching just leads back here.