The language of the Internet is the Queen's English you filthy heathen sand nigger. The Crusaders had the right idea; kill every last one of you pigs.
Name:
Anonymous2010-11-21 9:38
I like the syntax.
Does it have templates?
Name:
Anonymous2010-11-21 10:17
``Google Translate'' saves the day
!! C language program to solve the issue of Towers of Hanoi
!! The number of steps = 2 ^ n-1 where n the number of disks
_ Variable number of disks: True
Variable step: It is true
Convey the algorithm (number, source, goal, mediator: True)
{
If number> 0
{
Convey (No. 1, the source, intermediary, target)
Step = step 1
Write a step, ":", "Move a disk and one of the" source, "to", target, line
Convey (No. 1, the mediator, target, source)
}
}
Step = 0
Write "Enter the number of disks:"
Read _ the number of disks
Convey (the number of disks _, 1, 3.2)
This shit is weird. You don't fucking mess with Dr. Mohamed Ammar Asalkp
* (
-------------------------------------------------- -----------------------------------------
C language program to draw a curved spiral of Archimedes
All rights reserved to the author: Dr.. Mohamed Ammar Asalkp 0.1420 AH - 2000
-------------------------------------------------- -----------------------------------------
) *
!! The general equation of the curve in coordinates of helix
!! T = polar Tha Ye ×
!!=======================================
Included the "Colors"
P = 3.1415 fixed
Variable T, Ye, Q, G, Tha: real
Variable n: True
Variable x 0, p 0: true
!! Alon drawing color cyan
!!---------------------------------------
Alon color cyan, the paper
!! The principle of polar coordinates is located in the middle of graph paper
!!------------------------------------------------ -----------
Make Q = 0 conjecture \ 2
Make p 0 = Hda \ 2
!! Draw coordinate axes perpendicular
!!---------------------------------------
Draw a straight line from (x 0.0) to (x 0, Hda)
Draw a straight line from (0, p 0) to (intuition, p 0)
!! Draw a curved red
!!----------------------------------
Painted red
!! Read the value of the firm and the number of laps tha n
Write "Enter the value of the firm tha:"
Read tha
Write "Enter the number of rolls of the snail:"
Read n
!! Draw a curved point Venqtp step angle of 0.01 radians Ye
!!--------------------------------------
Mark Ye = 0
I repeat, as long as Ye <2 × B × N
{
I make tha = t × Ye
Make x = t × obligatory (Ye) Q 0
Make p = t × Jeb (Ye) p 0
Plot the point (x, y)
Mark Ye Ye = 0.01
}