此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。
Adding in C
描述
A simple C program of adding USER input numbers.
I used Visual Studio 2008 Command Prompt.
The code for the program is:
#include
int main(void)
{
int a=0,b=0;
int c;
printf("Enter First Number:\a");
scanf("%d",&a);
printf("\nEnter Second Number:\a" );
scanf("%d",&b);
c=a+b;
printf("\n\aThe Sum of %d and %d is %d\n\n",a,b,c);
return 0;
}
I used Visual Studio 2008 Command Prompt.
The code for the program is:
#include
int main(void)
{
int a=0,b=0;
int c;
printf("Enter First Number:\a");
scanf("%d",&a);
printf("\nEnter Second Number:\a" );
scanf("%d",&b);
c=a+b;
printf("\n\aThe Sum of %d and %d is %d\n\n",a,b,c);
return 0;
}
相关视频
ADDING TOO MANY INGREDIENTS INTO SLIME! Adding Too Much Of Everything To SLIME!
Emmitt Freddie
Adding Client side attendances (Legacy) - Adding attendees to the Detailed view sidebar
Tutorials Arena
ADDING TOO MUCH INGREDIENTS INTO SLIME! Adding Too Much Of Everything Into SLIME!
Life with Brothers
ADDING TOO MUCH INGREDIENTS TO SLIME! Adding Too Much Of Everything Into SLIME!
Popular Videos en
ADDING TOO MUCH INGREDIENTS INTO SLIME! Adding Too Much Of Everything Into SLIME! (2)
Life with Brothers
Adding Client side attendances (Legacy) - Adding the cancel attendance function
Tutorials Arena