Wednesday, 3 August 2016

C programm to add two numbers

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum=0;
clrscr();
/*printf("1st number \n");
scanf("%d \n",&a);
printf("2nd number \n");
scanf("%d \n",&b);
sum=a+b;
printf("\n %d sum=",&sum); */
for(i=2;i<=10;i++)
printf("%d \n",i);
getch();
}

Related Posts:

  • Importance of Manpower Importance of Manpower —Key to managerial functions- Human resources help in the implementation of all these managerial activities. Therefore, staffing becomes a key to all managerial functions.  —Efficient uti… Read More
  • Decision Making in Principle Of Management     Rationality in decision making.    A method for systematically selecting among possible choices that is based on reason and facts. In a rational decision making process, a business manager … Read More
  • Need of Manpower —Manpower Planning is a two-phased process because manpower planning not only analyses the current human resources but also makes manpower forecasts and thereby draw employment programs. Manpower Planning is advantageous to… Read More
  • Importance of Training What is traning? Training focuses on specific job knowledge and skill that is to be applied in the short run.  Development focuses on broad knowledge and insights that may be required for adaptation to environmental… Read More
  • Manpower Management DEFINITION:-— Manpower Planning which is also called as Human Resource Planning consists of putting right number of people, right kind of people at the right place, right time, doing the right things for which they are su… Read More