-
-
Save ragmha/e7667d38e3abc4bca857 to your computer and use it in GitHub Desktop.
C Prog T-11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include <stdlib.h> | |
#define _CRT_SECURE_NO_WARNINGS | |
int main() | |
{ | |
char firstName[20]; | |
char crush[20]; | |
int numberofBabies; | |
printf("what is your name? \n"); | |
scanf_s("%s", firstName, 20); | |
printf("Who you are going to marry? \n"); | |
scanf_s("%s", crush,20); | |
printf("How many kids will you have ? \n"); | |
scanf_s("%d", &numberofBabies); | |
printf("%s and %s are in love and will have %d babies", firstName, crush, numberofBabies); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment