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
Lisa [10]
3 years ago
11

Define a function CoordTransform() that transforms the function's first two input parameters xVal and yVal into two output param

eters xValNew and yValNew. The function returns void. The transformation is new = (old + 1) * 2. Ex: If xVal = 3 and yVal = 4, then xValNew is 8 and yValNew is 10.
Computers and Technology
1 answer:
WARRIOR [948]3 years ago
6 0

Answer:

Check the explanation

Explanation:

#include <iostream>

using namespace std;

void CoordTransform(int x, int y, int& xValNew,int& yValNew){

  xValNew = (x+1)*2;

  yValNew = (y+1)*2;

}

int main() {

  int xValNew = 0;

  int yValNew = 0;

  CoordTransform(3, 4, xValNew, yValNew);

  cout << "(3, 4) becomes " << "(" << xValNew << ", " << yValNew << ")" << endl;

  return 0;

}

You might be interested in
How to recover permanently deleted files from drive
HACTEHA [7]
Go into your trash bin in your computer.
7 0
3 years ago
When you use an IDE instead of a simple text editor to develop a program, ____________.
nalin [4]

Answer:

your answer is :

some help is provided

Explanation:

An integrated developed environment (IDE) provide more programming help than a plain text editor.

please mark me brainlist

4 0
3 years ago
What operating systems are you familiar with?
Andrew [12]

Well there are a few like

Microsoft Windows

Apple iOS

Apple macOS

Linux Operating System

3 0
3 years ago
Which domain indicates that a website is sponsored by a university or college?
d1i1m1o1n [39]

There are two domains that are commonly associated with sites that owned by a university or college: .edu and .ac.

In the case of .edu, <u>it is only available for United States higher education institutions or higher education institutions outside U.S that are affiliated with the United States since 2001.</u>

For non-U.S colleges and universities, they will commonly <u>use .ac as a second-level domain before putting in their country domain as the top-level domain.</u> Examples of this would be .ac.uk and .ac.jp.  


8 0
3 years ago
You have just finished entering field names for your database . You need to choose the primary key or key field but none of your
Luden [163]

C. Let the database assign a unique number in a new field

3 0
3 years ago
Read 2 more answers
Other questions:
  • The ____ problem-solving cycle involves inputting code to an assembler, translating it to machine language, loading it into a Vo
    10·1 answer
  • How can you best utilize CSS for Web Development?
    6·1 answer
  • it is important to include the __ attribute of the tag because some people use text-only web browsers
    5·2 answers
  • When you ____ software, you are adapting it from one type of computer or operating system to run on a different computer or oper
    13·1 answer
  • What are the main types of software? Explain with appropriate examplesWhat are the main types of software? Explain with appropri
    12·2 answers
  • If you combine two cells into one, what action are you performing?
    12·2 answers
  • Give two reasons to break up
    11·2 answers
  • B. What is a window?​
    8·2 answers
  • According to the presentation, integrity and ethics are particularly important for careers in which of the following pathways?
    5·1 answer
  • Which of the following would not be stored in a cell ?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!