loveroyal4real
loveroyal4real loveroyal4real
  • 13-07-2021
  • Computers and Technology
contestada

program 2. write a VB.NET program to solve the linear equation of the form Ax+B=C, i.e x=(C=B)/A (Eg:2x+3=7, where B and C are consonants, A is the coefficient of x)​

Respuesta :

tonb
tonb tonb
  • 15-07-2021

Answer:

Module Program

   Sub Main()

       Dim A, B, C, x As Double

       A = 2.0

       B = 3.0

       C = 7.0

       x = (C - B) / A

       Console.WriteLine($"Solution for {A}x + {B} = {C} is x = {x}")

       Console.ReadKey()

   End Sub

End Module

Explanation:

You have asked this question twice?

Answer Link

Otras preguntas

What is the y intercept of the quadratic equation f(x)=(x-8)(x+3)?
1.) Hira can jog 120m per minute. A.) How far can she jog in 10 minutes? B.) How long will it take her to jog 2km? (Hint: 1km = 1000m)
13 HELPP! What is the effect of increasing the temperature by a factor of four on the velocity of a gas? The velocity of the gas will increase by a factor of 4.
One bricklayer can build a wall in 6 hours. Another bricklayer could build the same wall in 4 hours. If they work together, how long will it take to build the w
What is the structure of this document? A.fill-in-the-blank form B.sequenced instructions C.essay style D.Q&A style
Please write about topic Education in 70words
In what way do some people think privatization can solve the problems of social security?
Which of the following correctly describes the relationship between the stolon and hyphae in fungi?a) Hyphae produce spores, and the stolon distributes them.b)
Which best explains pattern in design?
what factors helped draw eastern europe’s cultural boundaries