Posts

Showing posts from September, 2008

Chess Game : Best of Saeed Vs Akhlaq Khan Sep-2008

Image

Saeed Vs Khan Sep-2008 ( Best of Knights )

Image

Saeed Vs Khan Sep-2008 ( Hot Chess Games - 01)

Image

Saeed Vs Khan Sep-2008 ( Hot Chess Games)

Image

Saeed Vs Khan Sep-2008

Image

Best of Chess : Saeed Vs Akhlaq Khan

Image

Length Conversion Program Using C Language

#include #include void main(){ int ch,op=1; float val; start: clrscr(); printf("\n\n\t\t\t\tLength Conversion\n"); printf("\n 1- MM 2- CM 3- Inch 4- Foot 5- Meter 6- Kilo Meter 7-Exit "); do{ printf("\n\n\tEnter Your Choice\n"); gotoxy(27,7); scanf("%d",&ch); printf("\n\tEnter Your Value"); gotoxy(27,9); scanf("%f",&val); gotoxy(6,12); printf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»"); gotoxy(6,14); printf("ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ"); gotoxy(6,16); printf("ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ"); gotoxy(6,18); printf("ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ"); gotoxy(6,20); printf("ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ"); gotoxy(6,22); printf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ"); switch(ch){ case(1): gotoxy(10,10); printf("\n\t\t\t%f Milli Meter",val); printf("\n\n\tCM =\t%f",val/10); printf("\n\n\tM =\t%f",val/1000); pri...

Length Conversion Programm Code Using Java Swing Package

/* * Length.java * * Created on July 21, 2008, 9:40 AM */ package length; import javax.swing.JOptionPane; /** * * @author Saeed Ahmad */ public class Length extends javax.swing.JFrame { private Object JRootPane; /** Creates new form Length */ public Length() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // private void initComponents() { cmOption = new javax.swing.JComboBox(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); txtValue = new javax.swing.JTextField...

Simple Math Calculator Using Java Swing

import javax.swing.JTextField; import javax.swing.JOptionPane; /** * * @author Saeed */ public class Calc extends java.awt.Frame { public String x="",x1="",exp1,exp2,operand; /** Creates new form Calc */ public Calc() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ // private void initComponents() { btn0 = new javax.swing.JButton(); btn1 = new javax.swing.JButton(); btn2 = new javax.swing.JButton(); btn3 = new javax.swing.JButton(); btn4 = new javax.swing.JButton(); btn5 = new javax.swing.JButton(); btn6 = new javax.swing.JButton(); btn7 = new javax.swing.JButton(); btn8 = new javax.swing.JButton(); btn9 = new javax.swing.JButton(); jButto...