Hello friends.hope every one is fine.
Toady i am coming with new coding for c
Today we will learn scanf function.
By scanf function you can enter you amount or symbol.you can give own number.ok lets see.
type this code at codeblocks and run.
#include <stdio.h>
int main()
{
int a,b,sum;
scanf("%d", &a);
scanf("%d", &b);
sum=a+b;
printf("sum is: %d\n",sum);
return 0;
}
Toady i am coming with new coding for c
Today we will learn scanf function.
By scanf function you can enter you amount or symbol.you can give own number.ok lets see.
type this code at codeblocks and run.
#include <stdio.h>
int main()
{
int a,b,sum;
scanf("%d", &a);
scanf("%d", &b);
sum=a+b;
printf("sum is: %d\n",sum);
return 0;
}
No comments:
Post a Comment