Skip to content

Commit 9d03968

Browse files
author
Alex
committed
added second CLI program
1 parent ba400a0 commit 9d03968

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

add-a-number

8.58 KB
Binary file not shown.

add-a-number.c

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#include <stdio.h>
2+
3+
main() {
4+
int count;
5+
puts("Please enter a number: ");
6+
scanf("%d", &count);
7+
printf("The number is %d \n", count);
8+
}

0 commit comments

Comments
 (0)