fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. char action;
  6. int cr, cc;
  7. printf("Enter 'c <row> <column>' to click on a block.\n");
  8. scanf("%c %d %d",&action,&cr,&cc);
  9. printf("You typed: %c %d %d\n",action,cr,cc);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 2164KB
stdin
c 3 3
stdout
Enter 'c <row> <column>' to click on a block.
You typed: c 3 3