Meri kalam se
Tuesday, 15 February 2022
Take input from used and then add 2 sums in C
#include
<stdio.h>
int
main
()
{
int
a
,
b
,
c
;
printf
(
"Enter the value of a:"
);
scanf
(
"
%d
"
, &
a
);
printf
(
"Enter the value of b:"
);
scanf
(
"
%d
"
, &
b
);
printf
(
"The sum of a and b is:
%d
"
,
a
+
b
);
return
(
0
);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment