write a computer program in pascal?
109934
first start a new APP then add two Tedit's and one TComboBox ad a TMainMenu to the form and double click it to bring the Object viewer into view and start adding some data that should get you started and heading in the right direction
938758
write a program which will read the number as units,10's,100';s,1000's,10000's,100000's,1000000's,100000000's etc and store appropriate in english.  refer it and print eg.\n\n123 to print as one hundered and twenty three\n\n3  ---> store as three in a unit table  (3 is in unit, so read as three)\n2 ----> store as twenty in a ten table (2 is in 10, so read as twenty)\n1 ---->  store as one hundred in hundred table  (1 is in 100, so read as hundred)\n\nthen concantenate from the left\ni.e. one hundered twenty three \n\nadd only in the end\n\nwrite a program.  use brain to write the program.  there are so many ways, so many logic.  never post this type of question.\n\neach person's logic vary.  may be there will be very easy way of doing it.   and this program is very old.  this may have been written by innumerable number of programmers.  \n\nbye
41764
you can find a very good tutorial at the link.\n\nNo need to write whats already writtenm =)
269418
There is a terrific Windows/Mac utility called Konfabulator that can run all sorts of cool Java-based applications, called "widgets". Some of those widgets are calculators. \n\nKonfabulator now belongs to Yahoo!, and is known as the "Yahoo! Widget Engine". I have included a link below. The software is free.\n\nIn the widget gallery, search for "calculator". Widgets that I think may meet your needs are "calculator", "Kalc", and "simpleCalc".
985771
You can generate this in one line of Perl, Unix scripting, or a small C/C++ program.  Simply write one number per line from your program counter.  You may have to get tricky and use two long ints, but it's not hard.\n\n Realize that your document may be very large, and for most purposes, you don't need a document, just use the variable(s) in your final program.
979933
I'm giving u the program (in C), just go through it, then write the algo. It'll be easier.\n\n// Program :  MERGE  SORT\n\n#include<stdio.h>\n#include<conio.h>\n\nvoid mergesort(int *,int);\n\nvoid main()\n{\nint x[30],n,i;\nclrscr();\nprintf("Enter total no. of elements");\nscanf("%d",&n);\nprintf("Enter %d nos.",n);\nfor(i=0;i<n;i++)\n   scanf("%d",&x[i]);\n\nmergesort(x,n);\n\nprintf("After sorting in descending order :&#92;n");\nfor(i=n-1;i>=0;i--)\n  printf(" %d",x[i]);\n\ngetch();\n}\n\n\n\nvoid mergesort(int x[],int n)\n{\n  int aux[30],l1,l2,u1,u2,i,j,k,size;\n  size=1;   // merges file of size 1\n  while(size<n)\n  {\n    l1=0;   // initialize lower-bound of 1st. file\n    k=0;    // k is index for auxilliary array\n    while(l1+size<n)\n    {\n      // initialize remaining parameters...\n      l2=l1+size;\n      u1=l2-1;\n      u2=(l2+size-1)<n ? (l2+size-1):(n-1);\n      for(i=l1,j=l2;i<=u1 && j<=u2;k++)\n if(x[i]<=x[j])\n   aux[k]=x[i++];\n else\n   aux[k]=x[j++];\n      while(i<=u1)\n      aux[k++]=x[i++];\n      while(j<=u2)\n      aux[k++]=x[j++];\n\n      l1=u2+1;\n    } /* end of 2nd. while-loop */\n    for(i=l1;k<n;i++)\n       aux[k++]=x[i];\n    for(i=0;i<n;i++)\n       x[i]=aux[i];\n\n    size*=2;\n  } /* end of 1st. while-loop */\n}
1084305
It depends what you are programming.  I use fortran daily but I do alot of scientific computing on super computers.  c++ is good for this too, but I prefer fortran.  Java is quite popular for user interface type of programming like the internet.  I think pascal has seen better days.  Also for scientific computing I think that Matlab is going to be one of the leading languages real soon.
212073
I'm sorry, but doesn't a program for computer programming without a computer defeat the purpose of the program.  Kind of like trying to bake a cake without an oven.
383056
what kind of program are you doing?? all i know is visual basic stuff
274296
On Windows Start > All Programs > Accessories > Calculator > View > Scientific.\nNow select Bin
1043410
A monumental task!\nHope yur not the sole programmer.\nI recommend staying with standard C or Cobol\nA comprehensive telecom billing system will atke you years to write.
223090
There is no such language: each language is good in some private case. People answering your question are glad to kill basic and fortran. But note that for simple, even primitive programs (when you want, e.g., quickly test some your idea) basic is a suitable one. Fortran has tons of scientific and engineering libraries and thus is widely used today. I, personally, do not like Pascal - but it is my own phobia :-)
454838
For existing programs that do this, see PSLIST and ProcessExplorer.  \n\nTo write your own in C++, see this great Code Project article by Ahmed Yassin: http://www.codeproject.com/threads/Tasks.asp\n\nA comment at the end of the article mentions 3 other ways to do it as well:\n\n1. ToolHelp \n2. PSAPI\n3. Read Registry (check platform SDK sample PView)\n4. some function exported by ntdll.dll \n\nAlso see the MSDN help on the functions used in Ahmed's article.\n\nGood luck!
781094
Nobody is going to do your homework for you. \n\nIf you're supposed to write code examples that illustrate how two comparable programs might look, then do this. Write some simple programs in C, and then re-write the same program in C++ but put the functions your void main calls in a class and instantiate the class.
195623
how to write a compiler huh? wow. you must be of some great renown. first of all, you should know about exe code. for example it starts with some labels of the program, and an executable lump of code. youll need to know how to denote a loop or if statement by means of exe code. but trying to write a compiler is tougher than even writing the windows. cos the compiler must be compatible with windows and it means you need to know many things about how windows handles things. an example: the simplest visual basic application still requires 20 kb hard disk space. which means the compiler is generating that automatically. things generated are runtime error labels, things specific to windows, pentium pro favors and so on. it is generally a teamwork. not a let alone combat.
861634
Well, you can use almost any programming language for the graphical part. But the base, the kernel, MUST be written in ASM. I even found an OS, developed by one of my friends, written in Fortran and Python. But people usually use C++ because it's kind of easier. You can try using anything(except the web-script ones like PHP, Perl, C#, VBscript...).
267921
You can turn these into proper C++ statements:\n\nread a, b\n\nlet max = a\n\nif max < b\n  let max = b\nendif\n\nprint max\n\nThis program assumes that a <> b.