pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

C pastebin - collaborative debugging tool View Help


Posted by Lucas Hermann Negri on Fri 19 Sep 15:59
report abuse | download | new post

  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.         char nome1[20], nome2[20];
  6.         int gol1, gol2;
  7.  
  8.         while(scanf("%s vs %s : %dx%d", nome1, nome2, &gol1, &gol2) != EOF)
  9.         {
  10.                 printf("%s: %d\t", nome1, gol1);
  11.                 printf("%s: %d\n", nome2, gol2);
  12.         }
  13.  
  14.         return 0;
  15. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post