cs240/sync/PreLab3/atoiTest.c
2018-10-15 17:20:57 -04:00

17 lines
251 B
C

#include <stdio.h>
#include <stdlib.h>
int main(const int argc, const char** argv) {
if (argc > 1) {
printf("Input: %s\n", argv[1]);
int value = atoi(argv[1]);
printf("Output: %d\n", value);
for (
return 0;
} else {
return -1;
}
}