Write a c program to show your mailing address - CodeTextPro | Free Web Tutorial

Codetextpro Provides free Web tutorial, HTML, CSS, C, C++, Java, JavaScript, PHP, MySql, Python, Program, Programming Notes, Programming Questions and more.

Programming

Sunday, January 6, 2019

Write a c program to show your mailing address

C Program to show your mailing address

1st Example:
#include<stdio.h>
#include<conio.h>
main()
{
int i;
printf("mailing address");
scanf("%c",&i);
printf("First line  : Name\n");
printf("Second line : Door No,Street\n");
printf("Third line  :City,Pin code\n");
getch();

}


2st Example: 
#include<stdio.h>
#include<conio.h>
main()
{
char i;
printf("Please Enter and Show Details");
scanf("%c",&i);
printf("First line  : Hanif Miah\n");
printf("Second line : West Bengal\n");
printf("Third line  : Coochbehar,736131\n");
printf("Fourth line : Mobile No-9547******\n");
printf("Fifth  line : E-mail-hanifmiah834851@gmail.com\n");
printf("Six line    : Facebook ID-https://www.facebook.com/hanif.miah.786.9503?ref=bookmarks\n");
printf("Seven line  : Google Plus-https://plus.google.com/u/0/110163959946390893391");
getch();
}

No comments:

Post a Comment