textsetSize100, 20Box vbox = BoxcreateVerticalBoxBox xbox0 = BoxcreateHorizontalBoxxbox0addtextxbox0addbutton_shobox0addbutton_clearvboxaddxbox0vboxaddBox。
include ltstdioh int main int i, s = 0, n scanfquot%dquot, n fori = 1 i lt= n i++ s += i printfquot%d\nquot, s return 0。