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