"Unesi M" "UNOS" "Unesi N" "UNOS"
"Unesi M" "UNOS" "Unesi N" "UNOS"
im i, t As Byte !im s As Integer s " # t " # $or i " 1 %o If x(i) Mod & " # %'en s " s ( x(i) t " t ( 1 )nd If *ext i If t + # %'en asr " s , t )lse asr " # )nd If )nd Sub )nd Module
Public -lass Is.it Pri/ate Sub 0nesi1-lic (ByVal sender As System23b4ect, ByVal e As System2)/entArgs) 5andles 0nesi2-lic !im i, 4 As Byte !im red As String m " Val(In.utBox(60nesi M6, 60*3S6)) n " Val(In.utBox(60nesi *6, 60*3S6)) If m + 7 And n + 7 And n 8" 17 And m 8" 17 %'en Re!im a(m, n) $ile3.en(1, 6d9:Visual Basic:ula;2txt6, 3.enMode2In.ut) $or i " 1 %o n < 1 red " =ineIn.ut(1) *ext i $or 4 " 1 %o n red " =ineIn.ut(1) $or i " 1 %o m a(i, 4) " Val(%rim(Mid(red, (i < 1) > & ( 1, &))) *ext i *ext 4 $ile-lose(1) 0nesi2Visible " $alse 3bradi2Visible " %rue )lse MsgBox(6=osi .odaci6) )nd If )nd Sub Pri/ate Sub 3bradi1-lic (ByVal sender As System23b4ect, ByVal e As System2)/entArgs) 5andles 3bradi2-lic !im i, 4, u , s, t As Byte !im min, x(n) As Integer !im c, ;(m) As Single !im r(m), d As String $ile3.en(7, 6d9:Visual Basic:i;la;2txt6, 3.enMode23ut.ut) $or i " 1 %o m r(i) " 66 $or 4 " 1 %o n r(i) " r(i) ? Str(a(i, 4)) ? S.ace(@ < =en(Str(a(i, 4)))) *ext 4 Print=ine(7, r(i)) *ext i %extBox12=ines " r s " # $or 4 " 7 %o n Ste. 7 min " a(1, 4)
$or i " 1 %o m If a(i, 4) 8 min %'en min " a(i, 4) )nd If *ext i If min + m %'en s " s ( 1 )nd If *ext 4 u " n , 7 If s " u %'en t " # $or i " 1 %o m $or 4 " 1 %o n x(4) " a(i, 4) *ext 4 sredina(x, n, c) t " t ( 1 ;(t) " c *ext i d " 66 $or i " 1 %o t d " d ? Str(;(i)) ? 6,6 *ext i =abel12%ext " 6*i; A96 ? d Print=ine(7, 6*i; A96 ? d) )lse MsgBox(6Matrica 4e neis.ra/na6) )nd If $ile-lose(7) )nd Sub )nd -lass