How to calculate sum
Answers were Sorted based on User's Feedback
Answer / deepanshu dubey
#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int a,b,c;
printf("Enter two numbers\n");
scanf("%d%d",&a,&b);
c=a+b;
printf("%d\n",c);
}
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / avinash jadhav
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int num1,num2,sum;
clrscr();
printf("\nEnter the 2 numbers\n");
scanf("%d%d",&a,&b);
sum=num1+num2;
printf("The sum of the two number is %d\n",sum);
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Difference between data structure and data base.
7 Answers CTS, Value Labs, Zoho,
What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
how logic is used
what does ‘#include’ mean?
what's the return value of malloc()
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
What does dm mean sexually?
What is the use of ?: Operator?
Write a program for deleting duplicate elements in an array
though sbi was nationalized why its not comes under nationalized banks and its comes under publicsector banks
3 Answers State Bank Of India SBI,