Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

am i doing it right?

Name: Anonymous 2010-04-04 19:00

#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
  int x, y;
  fputs ("1st int: ", stdout);
  fscanf (stdin, "%d", &x);
  fputs ("2nd int: ", stdout);
  fscanf (stdin, "%d", &y);
  fprintf (stdout, "sum = %d\n", x + y);
  return EXIT_SUCCESS;
}

Name: Anonymous 2010-04-04 20:19

>>10
What about us folks who are not stuck in the past and use Vi and make it display unindented lines with eight spaces in front and once-indented as ">       text starts here", and twice-indented as ">>      text starts here", and so on, so the text lines up perfectly, eh? EH?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List