Freemark line feed output and freemark line feed
<! -- Attachment image -->
<# If attatList? Exists>
<# If (attatList? Size> 0)>
<Tr id = "fujian_image"> <td height = "25" align = "right" class = "hei_14"> attachment image: </td> <td colspan = "3">
<Ul style = "list-style: none;">
<# List attatList as picture>
<Li style = "float: left; width: 199px;"> <# if picture. src? Exists> src = "$ {picurl }$ {picture. src} "</# if> width =" 100 "heigth =" 100 "id =" img2 "/> <input type =" hidden "id =" fujian_src "name =" fujian_src "class =" input "value =" $ {picture. src} "/> <a href =" javascript: deletePic ('$ {picture. id} ') "class =" cheng_hx_12 "> Delete </a> </li>
$ {(Picture_index + 1) % 3 = 0 )? String ('<br> ','')}
</# List>
</Ul>
</Td> </tr>
</# If>
</# If>
How to wrap a line in the output?
# Include <stdio. h>
Void main ()
{
Int I, n;
Int a [500] = {0 };
For (I = 1; I <500; I ++) a [I] = a [I-1] + 1;
For (I = 0; I <500; I ++)
{
If (a [I] % 5 = 0)
{
Printf ("% d", a [I]);
N ++;
If (n % 5 = 0) printf ("\ n ");
}
}
}
The line feed of C ++ is just now. This is C.
2. Use a java program to list the first 20 numbers. Each line needs to output 5 numbers before line feed.
Public class Example
{
Public static void main (String args [])
{
String output = "";
For (int I = 1; I <= 20; I ++)
{
If (I % 5 = 0)
{
Output + = I + "\ n ";
}
Else
Output + = I + "\ t ";
}
System. out. println (output );
}
}