Write a program to print your mailing address.

The program ask the programmer to print the mailing address in the following form:

1. First line: Name.
2. Second line: Door No, Street.
3. Third line: City, Pin Code.

To display the out put in above formate we use newline character "\n". A newline character instructs the computer to go to the next(new) line.

#include <stdio.h>
main()
{
printf("Jubilant Organosys Limited\n");
printf("Nimbut Village, Nira R. S.\n");
printf("Pune-412102 \n");
return 0;
}

Output:

Jubilant Organosys Limited,
Nimbut Village, Nira R.S.
Pune-412102.

0 comments:

Post a Comment

 

About Me

It's Me!Hi, I'm Moinuddin. I'm a Software Engineer at WIPRO working on Microsoft .NET Technology. I'm interested in a wide range of technology topics, mainly Microsoft including Windows Azure, WCF, WPF, Silverlight and any other cool technology that catches the eye.

Site Info

ProjectCSharp.com is mainly about demonstrating real time examples in different technologies like ASP.NET, WCF, WPF, Silverlight, Azure etc..,

Followers

Help Links

Project CSharp (C#) Copyright © 2011. All Rights Reserved.