bläi 4 This code enter a number represents a Celsius degree (C) then converts it to Fahrenheit degree (F) according to the relation: F = (9C / 5) + 32 Then print the grade of this degree by using the * :following relations "C" when F< 41. "N" when 41< F<77. "H" when F>77. Private Sub Command1_Click() Dim C, F As Double C = InputBox("C") F= (9 * C/ 5) + 32 1-. Print ("C") 2-.. Print ("N") 3-. Print ("H") 4-.. End Sub 1-lf F<= 41 Then 2-If F <= 77 Then 3-Elself F>77 4-End If 1-lf F <41 Then 2-Elself F <= 77 Then 3-Else 4-End If 1-lf F<= 41 Then 2-Elself F <= 77 Then 3- Else 4-Blank
bläi 4 This code enter a number represents a Celsius degree (C) then converts it to Fahrenheit degree (F) according to the relation: F = (9C / 5) + 32 Then print the grade of this degree by using the * :following relations "C" when F< 41. "N" when 41< F<77. "H" when F>77. Private Sub Command1_Click() Dim C, F As Double C = InputBox("C") F= (9 * C/ 5) + 32 1-. Print ("C") 2-.. Print ("N") 3-. Print ("H") 4-.. End Sub 1-lf F<= 41 Then 2-If F <= 77 Then 3-Elself F>77 4-End If 1-lf F <41 Then 2-Elself F <= 77 Then 3-Else 4-End If 1-lf F<= 41 Then 2-Elself F <= 77 Then 3- Else 4-Blank
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter3: Assignment, Formatting, And Interactive Input
Section3.1: Assignment Operations
Problem 6E: (Numerical) Write an assignment statement to calculate the nth term in an arithmetic sequence. This...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT