write a programme to print your full adress in proper way.
Answers
Answered by
1
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.
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.
itsmel:
sameer
Similar questions