Quantcast
Channel: MyCoding.net
Browsing latest articles
Browse All 16 View Live

Find s=1 – 2 + 3 – 4 + 5 – 6 + 7 – 8 + 9 – 10. in C#

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 using System;   class Program   { … Continue reading →

View Article



Program to demonstrate the use of goto statement in C#

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 … Continue reading →

View Article

Hangman (game) script in PHP

To start off, here is a little information about the Hangman game. From Wikipedia: The word to guess is represented by a row of dashes, giving the number of letters and category of the word. If the...

View Article

Facebook Hacker Cup : Studious Student Problem Solution in Java

This program is a solution to Studious Student problem from Facebook Hacker Cup. The problem can be found here: . The problem: Studious Student You’ve been given a list of words to study and memorize....

View Article

Facebook Hacker Cup : “Double Squares” Solution in Java

This program is a solution to Studious Student problem from Facebook Hacker Cup. The problem can be found here: link. The problem: A double-square number is an integer X which can be expressed as the...

View Article


Program to find a square of a number without using multiplication or exponential

I found this question while surfing through the internet. The task is to write a function that accepts a number n and returns the square of n. However, we are not allowed to use the multiplication or...

View Article

Code jam Store Credit solution in java

I found this question at codejam. You can find the problem here. So lets get onto the problem. Problem You receive a credit C at a local store and would like to buy two items. You first walk through...

View Article

Code jam “Minimum Scalar product” solution in java

This question was asked in Round 1 of Code Jam 2008 contest. The problem You are given two vectors v1=(x1,x2,…,xn) and v2=(y1,y2,…,yn). The scalar product of these vectors is a single number,...

View Article


Code jam “Tic-Tac-Toe-Tomek” solution in java

This is the solution to “Tic-Tac-Toe-Tomek” problem of the Code Jam 2013 competition. Problem details: Tic-Tac-Toe-Tomek is a game played on a 4 x 4 square board. The board starts empty, except that a...

View Article


Netbeans Tutorial – Cookies

The following video demonstrates on using Cookies in Java Servlets using Netbeans IDE    

View Article
Browsing latest articles
Browse All 16 View Live




Latest Images