suggest me

Discussion in 'Programming' started by recruitermatenetworking, Nov 28, 2010.

  1. #1
    Write a c program that accepts a month and day
     
    recruitermatenetworking, Nov 28, 2010 IP
  2. underground-stockholm

    underground-stockholm Guest

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    homework.c:

    #include <stdio.h>
    
    int main(void)
    {
      unsigned int day, month;
    
      printf("Enter a month and a day: ");
      scanf("%u %u", &month, &day);
      printf("You entered day %u and month %u.\n", day, month);
    
      return 0;
    }
    PHP:
     
    underground-stockholm, Nov 29, 2010 IP