1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vesna_86 [32]
3 years ago
15

Write a VB program to convert a temperature from Celsius to Fahrenheit and vice versa.

Computers and Technology
1 answer:
Ugo [173]3 years ago
8 0

Answer:

Dim c As Double

Dim f As Double

Private Sub CmdClr_Click()

TxtInput.Text = “”

TxtInput.SetFocus

End Sub

Private Sub Command1_Click()

c = Val(TxtInput.Text)

If Val(c) = 0 And TxtInput = “” Then

MsgBox “Enter Any number”, vbInformation, “Result”

TxtInput.SetFocus

Else

f = 9 * c \ 5 + 32

MsgBox “Fahrenheit :” & ” ” & f, vbInformation, “Result”

End If

End Sub

Private Sub Command2_Click()

f = Val(TxtInput.Text)

If Val(c) = 0 And TxtInput = “” Then

MsgBox “Enter Any number”, vbInformation, “Result”

TxtInput.SetFocus

Else

c = (f – 32) * 5 \ 9

MsgBox “Celsius :” & ” ” & c, vbInformation, “Result”

End If

End Sub

Explanation:

You might be interested in
What is the output for the code below?
alisha [4.7K]
What is output by the code below? int[] array = {33,14,37,11,27,4,6,2,6,7}; System .out.println(array.length); ... int[] array = {5,10,3,6,9,15}; ... int total = 0; ... output by the code below? int j=1, tally=0; while(j<9) { tally++; j++; } System.out.print(tally);.
From quizlet
5 0
3 years ago
What will be the output of the following code snippet? boolean token1 = true; while (token1) { for (int i = 0; i &lt; 10; i++) {
djverab [1.8K]

Answer:

The output of the code snippet will be ten “Hello” messages

Explanation:

while token = true

i = 0 sends “Hello” to the screen

i = 1 sends “Hello” to the screen

i = 2 sends “Hello” to the screen

i = 3 sends “Hello” to the screen

i = 4 sends “Hello” to the screen

i = 5 sends “Hello” to the screen

i = 6 sends “Hello” to the screen

i = 7 sends “Hello” to the screen

i = 8 sends “Hello” to the screen

i = 9 sends “Hello” to the screen

 

6 0
3 years ago
As a computer starts up, you see an error message about a missing operating system. At what point in startup does this error occ
djyliett [7]

Answer:

When the Basic Input/Output System (BIOS) attempt to find an operating system on a hard disk to starts from.

Explanation:

As a computer starts up, and the BIOS cannot find an operating system on the hard disk to start from, an error message would be displayed.

6 0
4 years ago
Depending on your web browser, you may be able to locate a folder or a file on your machine that contains cookies. Look through
gogolik [260]

Answer:

yourmom.com    yourhaouse.com   and     mcdonalds.org

Explanation:

7 0
3 years ago
In what way are networks different from other types of electrical wiring?
Irina-Kira [14]

Answer:

Combination of different electric elements or components which are connected in any way is called electric network

Complex Networks

A Circuit which contains on many electrical elements such as resistors, capacitors, inductors, current sources and Voltage source (both AC and DC) is called Complex network. These kinds of networks can’t be solved easily by simple ohm’s Law or Kirchhoff’s laws. I.e. we solve these circuits by specific technique i.e. Norton’s Theorem, Thevenin’s Theorem, Superposition theorem etc.  

What is a Circuit or Electric Circuit?

Circuit or electrical circuit is a close loop path giving a return path for the current. Or a close conducting path in which current can flow is called circuit.Explanation:

PLEASE GIVE ME BRAINLIEST!

7 0
3 years ago
Other questions:
  • ____________ describes major components that comprise a system, their relationships, and the information the components exchange
    11·1 answer
  • A(n ____________ is considered a named collection of bytes having persistent or lasting storage.
    10·1 answer
  • How can anger cause workplace accidents?
    8·2 answers
  • Petra has an interview with an IT company. What technique can help prepare her?
    7·2 answers
  • As related to the use of computers, ____ is defined as gaining unauthorized access or obtaining confidential information by taki
    10·1 answer
  • What is a layer, in the context of this lesson?
    5·2 answers
  • What is the primary language used to write web content and is the default format for Outlook messages?
    14·1 answer
  • Demons I shall be your eternal nightmare
    13·1 answer
  • How r u<br> ;)<br> happy what day is it
    5·2 answers
  • [100 points] Fill in the missing word.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!