Visual Basic

 

1)Укажите допустимые имена:

а)Переменная

б)G1G2H3

в)Dim

г)D&G

д)2_значное

е)Нов.значение

ж)qaz wer

2. Определите значение переменных по фрагменту программы с помощью трассировки:

а)Dim a As String, b As String, c As String
a = “У нас ”
b = “3”
с = a & b & “пары”

б)Dim Q1 As Integer, Q2 As Integer
Const Q As Integer = 15
Q1 = 1
Q2 = 2
Q1 = Q + Q2
Q2 = Q1 *Q2

с)Dim a As Byte, b As Byte, c As Byte
a = 3
b = 100
b = b + a
с = a * b

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.