In This Video:
I have discussed about input methods in c language. In this program user need to enter two integers by keyboard as input the the sum will be printed on the screen.
Source-code:
#include<stdio.h>
int main() {
int a, b;
int sum=0;
printf("Enter the first number: \n");
scanf("%d", &a);
printf("Enter the second number: \n");
scanf("%d", &b);
sum = a + b;
printf("The addition of two numbers are: %d\n", sum);
return 0;
}
In this series I used to solve C Programming Problems with a very efficient manner and to the point approach.
If you find this video helpful please write "This Video is helpful" in the comments section and share this video with your friends.
Access the Complete Playlist
Comments
Post a Comment
Type your feedback here...