kalponikoronno

test two

Feb 26th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.47 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4.  
  5.  
  6. int main() {
  7.  
  8.     char firstName[20];
  9.     char crash[20];
  10.     int numberOfbabies;
  11.  
  12.     printf("What is your name? \n");
  13.     scanf("%s", firstName);
  14.  
  15.     printf("Who are you going to marry? \n");
  16.     scanf("%s", crash);
  17.  
  18.     printf("Hom many kids will you have? \n");
  19.     scanf("%d", &numberOfbabies);
  20.  
  21.     printf("%s and %s are in love, and will have %d babies", firstName, crash, numberOfbabies);
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment