Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Name: Shaheen G
- Class: Comp2401 A4- Part #2
- singlePrime
- */
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
- #include <string.h>
- int main(int argc, char**argv){
- if (argc < 2){
- // no arguements where passed in
- Printf("You need to plug singlePrime with a number, do that next time!\n");
- return 0;
- }
- if ((isdigit(argv[1])) == 1){
- //integer passed in
- }else{
- //other type passed in
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement