A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest - AQA - GCSE Computer Science - Question 4 - 2021 - Paper 1
Question 4
A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest.
Complete the program bel... show full transcript
Worked Solution & Example Answer:A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest - AQA - GCSE Computer Science - Question 4 - 2021 - Paper 1
Step 1
Fill in the blank: Dim num2 As
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Integer
Step 2
Fill in the blank: If num1 > num2 Then
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
num1
Step 3
Fill in the blank: ElseIf num1 ________ num2 Then
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
<
Step 4
Fill in the blank: Console.WriteLine("__________ is bigger.")
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
num2
Step 5
Fill in the blank: Else
97%
117 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!