a) Complete the following table Variable Name Variable Type Variable Value

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question
a) Complete the following table
Variable Name Variable Type Variable Value
Transcribed Image Text:a) Complete the following table Variable Name Variable Type Variable Value
Question 2
Consider the following VB.NET program
Module VBModule
Sub Main()
Dim a as double
Dim b as double
Dim c as double
a = 25
b = 18
c = a - b
if ( c > 0 ) Then
Console.WriteLine(“a is greater
than b {0}", c)
Elseif ( c < 0 ) Then
Console.WriteLine ("b is greater
than a {0}", c)
Else
Console.WriteLine ("a and b are
equal")
End if
End Sub
End Module
Transcribed Image Text:Question 2 Consider the following VB.NET program Module VBModule Sub Main() Dim a as double Dim b as double Dim c as double a = 25 b = 18 c = a - b if ( c > 0 ) Then Console.WriteLine(“a is greater than b {0}", c) Elseif ( c < 0 ) Then Console.WriteLine ("b is greater than a {0}", c) Else Console.WriteLine ("a and b are equal") End if End Sub End Module
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Web Page
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT