faizy999 0 Report post Posted June 16, 2004 A C language is a middle level language first used to devolop the unix operating system.Why it is called middle level language because it has the power of low level and high level languages Wrinting a first program in c language is so easy. u first have to write its code then compile in a compiler which creates it executable file to run. What u need to write and compile a C language program.1: A compiler for eg (Borland C++ Compiler v5)this compiler also compile with c compatibality. it also includes its built it editor on which u write your code. After getting this compiler or any other that suits u write the following code. #include <stdio.h>[br]#include <conio.h>[/br]void main (void)[br]{[/br] clrscr(); //Clears the screen[br] printf("Write Your Here"); //Prints the text in Quatations[/br] getch(); //waits for a key to press[br]}[/br]Description Of Program::>> Above Prgram Simply Prints the text written under the quatation marks now i explain what each line mean in the programfirst of all forget these statements right now #include <some_name> what clrscr do it clears your dos screenprintf prints the text inside the quatation marksgetch wait until the is pressesWhen u write this u have to compile and link it so an executable file is made of your program when u run this program tell me what u experianced.Also need more Help Just ask Here In this Topic . Share this post Link to post Share on other sites
ravi 0 Report post Posted June 16, 2004 I had approched for a C prog test and This was the prog which was given to me.. Write a program to calculate 2 numbers whose INPut is text Format i.e. Alphabetic ( in figures) . So the entire input will be in figures. Suppose u want to add 657 and 42554. Then ur gonna enter six hundred and fifty seven plus ......The Program is supposed to calculate this and retuen the answer in FIGURES. See if u can try it. Share this post Link to post Share on other sites
leeindia 0 Report post Posted December 6, 2008 I should confess that i am a software engineer and while in college, till third year I didnt know how to write a program in C language to add up two numbers Share this post Link to post Share on other sites