Challenge #1 of C.

0 Abu Mahdi · February 10, 2015

#include
#include
#include
#include
#include

/*The Mahdi.*/
int main()
{
    int password;

    printf("Enter password?\n");
    scanf(" %c.\n", &password);
      if( isdigit(password) || isalpha(password)){
        printf("Good.\n");
      }else{
       printf("get lost.\n");
      }

    return 0;
}



Post a Reply

Replies

Oldest  Newest  Rating
0 Lazar Bulic · February 10, 2015
Did you even try to compile this code? Please try harder as there are too many mistakes here to comment. 
  • 1

C

107,188 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator