Jun 10 2010

Simple Calculator

Category: VB.NETadmin @ 7:17 am

This Calculator can do basic operations. Click here to download the project

Tags: , , , , , ,


Oct 26 2009

Multiple Table

Category: C Programmingadmin @ 11:56 pm

This program show a multiple table

/*Exercise 4.1*/
#include<stdio.h>
int main (void)
{
  int input,i,j,ans;
  printf("Enter the number: ");
  scanf("%d",&input);
 
  for(i=1;i<=input;i++)
  {
    printf("\t(%d)\t",i);
  }
  printf("\n----------------------------------------------------------------------------------------------------");
 
 
  for(i=1;i<input+1;i++)
  {
    ans=1;
    printf("\n(%d)",i);
    for(j=1;j<=input;j++)
    {
      ans=i*j;
      printf("\t %d\t",ans);
    }
    printf("\n--------------------------------------------------------------------------------------------------");
 
  }
  printf("\n");
  return 0;
}

Download Source code & exe

Tags: , , , ,


Sep 15 2009

Temp Converter

Category: C Programmingadmin @ 4:50 am

/*Convert a Celsius temperature to Fahrenhit*/
#include<stdio.h>
main()
{
      float tmpc;
      float tmpf;
      printf("Enter Celsius temperature:");
      scanf("%f",&tmpc);
      tmpf=32+tmpc*9/5;
      printf("Farenhit temperature:%.2f\n",tmpf);
 
      fflush(stdin);
      getchar();
}

Tags: , ,


Next Page »