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
Elan Coil [88]
3 years ago
14

Write a QBasic program to find the value Y for any value of X​

Computers and Technology
1 answer:
Svetradugi [14.3K]3 years ago
7 0

Answer:

The program in Qbasic is as follows:

INPUT X

Y = 2*X^2- 3

PRINT Y

END

Explanation:

The question is incomplete, as the expression to solve for y is not given.

So, I will make use of the following expression: y = 2x^2- 3

The explanation is as follows:

This gets input for X

INPUT X

This calculates Y using the assumed expression. (Replace this line with the original expression)

Y = 2*X^2- 3

This prints Y

PRINT Y

This ends the program

END

You might be interested in
Given a following C program, where M and N are constant declared with #define long P[M][N]; long Q[N][M]; long sum_element(long
sladkih [1.3K]

Answer:

Check the explanation

Explanation:

The first, second and third instruction together set %rdx = 3*%rdi + %rsi. The fourth and fifth instruction set %rdi = %rdi+9*%rsi.

Now %rdi is used to address Q, while %rdx is used to address P. Note that P is addressed by column and then by row. Hence M = 3 . Also Q is addressed by row and then column, hence N = 9 .

3 0
4 years ago
Here's one just for fun . For all the car people on here !
Doss [256]

its B...... Dodge challenger SRT Demon


8 0
3 years ago
Read 2 more answers
Write a Bare Bones program that takes as input two variables X and Y. (Again, assume these values are set before your program be
Sauron [17]

Answer:

import java.util.Scanner;

public class num8 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter first number");

       int X = in.nextInt();

       System.out.println("Enter second number");

       int Y = in.nextInt();

       int Z;

       if(X <= Y){

           Z = 0;

       }

       else if(X >= Y){

           Z = 1;

       }

   }

}

Explanation:

  • The program is implemented in Java
  • In order to set the values for X and Y, The Scanner class is used to receive and store the values in the variables (Although the questions says you should assume these values are set)
  • The if conditional statement is used to assign values (either 0 or 1) to variable Z as required by the question.
5 0
3 years ago
Read 2 more answers
To create a cover letter to send to potenial employers alone with a resume what software program should you use
Alexus [3.1K]
Microsoft word? That’s the standard program used but I don’t know if there are special resume programs you learned about.
3 0
3 years ago
1. What year was the Entertainment Software Rating Board created?
Aloiza [94]
I think its B ir look on safari
3 0
3 years ago
Other questions:
  • GIVING BRAINLIEST What does output allow a computer to do? Display information Receive information Do complex math problems Do m
    6·2 answers
  • What is cutting-edge technology
    6·1 answer
  • The parallax perspective says that objects that are close up appear to move __________ than far away objects.
    10·1 answer
  • When all RGB colors have the same value, the resulting color will most likely be some variation of _______________.
    11·1 answer
  • g Write a recursive function all capital (L,start ,stop) that takes a string L and two integers. It returns a Boolean (True/Fals
    8·1 answer
  • Susan uploads her newly created files on the web server using FTP. What should she ensure while uploading to prevent other users
    9·2 answers
  • Write a print statement that displays a random integer between 5 and 5000. Assume the random library is imported.
    12·1 answer
  • The document that is use in excel to store an work with data that's formatted in a pattern of a uniformly space horizontalal an
    12·1 answer
  • What aspect should you consider before adding pictures to a document? You should structure the first before you search for a rel
    14·1 answer
  • Supose that there are exactly 733 monks in the world.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!