Angry Birds

Introducing to Linux


Permutation in Cards (C#)

Label: ,

using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program {     class Permutation     {         private void swap(ref char a, ref char b)         {             if (a == b) return;             a ^= b;             b ^= a;    ...

Rolling A Dice in C#

Label: ,

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dice {     class Program     {         static void Main()         {             F();             F();             F();             F();      ...

Summery Constractor, Destructor, and Polymorphism

Label:

Summary Constractor n Destructor - A constructor is used to initialize the members of the class. - There are two types of constructors, instance constructors and static constructors. - Instance constructors are used to initialize data members of the class. - Static constructors are used to initialize the static variables of a class. - Destructors are used to release the instance of a class from memory. - Garbage collection is a process that automatically...

Triangle's Formula Using Java

Label: ,

Now, I wanna tell you how to find the value of triangle side. Hmm.. Maybe I'm not good in math, but I always try to find it as long as I can. So, if you find any wrong in my syntax, please put your comment. Hehe.. Here is the syntax... Lets check it out! package chacam.main; public class...

A Simple Calculator Using C#

Label: ,

This time, I wanna share the the syntax to make a simple calculator using C#. Here it is..! using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Calculator {     class Calculating     {         int Number1, Number2;  ...

Java VS C# (C-Sharp) ! Which one is the WINNER ?!

Label: ,

Hello Everybody! Its very long time no posting here. This time I'll try to explain about differences between Mr.Java & Mr.C-Sharp Ok ! Lets check it out! A. Java Primitive Types There are 4 datatype on Java Programming Language. Here it is... 1. Logical --- boolean  Logical values are represented...

Pseudocode Deret fibonacci

Label:

begin         int j = 1;         int k = 1;         int i;         int h;         int iLimit;         print ("masukan limit")         accept iLimit                  if ( iLimit = 1 )         { print "0"        ...

Pseudocode Segitiga Pascal

Label: ,

Int i = 1; Int j = 1; Int k = 1;  Int iBil; Begin  print("Masukkan Level: ");  for (i=0; i<=iBil; i++)  {    for (int j = 1; j <= iBil - i; j++)    print(" ");     {         for (k = 1; k <= i; k++)           {              if (k==0||i==k)        ...