C Program To Add Two Given Numbers

Link To Download Turbo C

Turbo C was Devlopoed by "Borland International Inc" It Provides an Integrated environment where the entire programming progress can be carried out without leaving the package. An inbuilt editor is provided for entering the program. All task are done through pull down menus. I have uploaded "TURBO C" on Mediafire.com Click on the link given below to download file.

http://www.mediafire.com/?x778n33dzmzd3a7

After Downloading, Unzip the File, And Click on "INSTALL.EXE"

[NOTE: You Must Install "Turbo C" in "C:/ Drive" of Your Computer. Else it will not work.]


Program To Add Two Numbers in "C"

/*Hello, This Program helps you to add 2 numbers*/

#include<stdio.h>

#include<conio.h>

void main()

{

int num1, num2, total;

printf("Enter the first number to be added\n");

scanf("%d",&num1);

printf("Enter the second number to be added\n");

scanf("%d",&num2);

total=num1+num2;

printf("%d + %d = %d\n",num1,num2,total);

printf("Program Developed By Mighty Akshay www.mightyakshay.hubpages.com");

getch();

}

How To Use this Program

For Using the above program, follow these steps;

1] Download TURBO C from the link mentioned above (see "Link To Download Turbo C" section).

2] Unzip the file "Turbo C by Mighty Akshay (www.mightyakshay.hubpages.com).zip" after downloading it.

3] Install TURBO C by clicking on the file "install.exe"

4] Copy my program and paste it in Notepad. Save the notepad file and close notepad.

5] Then right click on your saved notepad file and select properties.

6] In the General Tab, Click on "CHANGE" button.

7] Then Click on Browse.

8] Go to "My Computer/C drive/TC/Bin

9] Then select "TC.EXE" and click on Open, OK, Apply and OK.

The Program will Open in Turbo C...!!!

[TIP : To Run The Program, Press Ctrl+F9]

Output Of The Given Program

output1
output1
output2
output2
output3
output3
output4
output4
output5
output5

Comments 3 comments

MAHA 2 years ago

Thank u dears !


sheraz 2 years ago

thanxxxxxxxxxxx buddy..........


vishal 15 months ago

Thanks guys...

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working