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
Natali [406]
3 years ago
13

If the name of the input file was in a variable named filename, which of the following is the correct way to open the input stre

am named inFile and associate it with this file?
a. inFile.open (filename);
b. inFile = filename;
c. inFile = "filename";
d. inFile.open ("filename");
Computers and Technology
1 answer:
goldfiish [28.3K]3 years ago
7 0
It would be A - inFile.open(filename)
You might be interested in
After you select your recipients, the next step in using the Mail Merge Wizard would be to _____.
NARA [144]

Answer:

Write your letter

Explanation:

When using a Mail Merge Wizard in a Microsoft Word Document, this is the process.

  • Click on your document type
  • Click on the starting document
  • Select the recipient(s)
  • Write your letter and add some custom fields
  • Insert your address Block
  • Strike enter and click on Greeting line (to enter a greeting)
  • Preview your letter and click on complete merge
3 0
3 years ago
Read 2 more answers
You want to select the minimum windows server 2012 edition to support the required roles and hardware. which edition should you
nirvana33 [79]

Edition should you install <u>essentials edition.</u>

<u></u>

<h3>What are the two editions of Windows Server?</h3>

Microsoft has proposed Standard and Datacenter editions of its Windows Server operating systems for several years, which continued with Windows Server 2022.

<h3>What is Windows Server Edition?</h3>

Microsoft Windows Server OS (operating system) is a series of enterprise-class server operating systems created to share services with multiple users and provide extensive managerial control of data storage, applications and corporate networks.

To learn more about Workspace Essentials, refer

brainly.com/question/12578161

#SPJ4

8 0
1 year ago
Write a for loop that sets each array element in bonusScores to the sum of itself and the next element, except for the last elem
Nat2105 [25]

Answer:

The program to this question can be given as:

Program:

#include<stdio.h>  //header file.

int main()

 //main function

{

   int SCORES_SIZE = 4;  //define variables.

   int bonusScores[]={10,20,30,40};  //define array.

   int i;

   printf("Values:");

 //message

   for (i = 0; i < SCORES_SIZE; ++i)  //loop for print values.

   {

       printf("%d ", bonusScores[i]);

   }

void CombineScores(int numberScore, int userScore) //function

{

   for (i = 0; i < SCORES_SIZE; i++)

  //loop for convert values

   {

       if (( bonusScores[i] <= bonusScores[i +1] ) || (bonusScores[i] < bonusScores [i+1]))  //check array elements

       {

           bonusScores[i] = (bonusScores [i] + bonusScores[i+1]);

 //add values

       }

       else

       {

           bonusScores[i] = bonusScores[i];

       }

   }

   printf("\nReturn values:");  //message

 for (i = 0; i < SCORES_SIZE; i++)

{

printf("%d",bonusScores[i]);

}

}

CombineScores(0,0); //calling

return 0;

}  

Output:

Values:10 20 30 40  

Return values:30 50 70 40  

Explanation:

In the above c++ programming code firstly we define the header file. Then we define the main function in this function we define variable that name is given in the question that is SCORES_SIZE, i. Variable i is used in the loop for a print array. Then we define and initialize an array. The array name is and elements are define in the question that is bonusScores[]={10,20,30,40}. Then we use the loop for print array elements.Then we define function that is CombineScores() in this we pass two parameter. Then we use the second time in this loop we check array elements and add the elements that are given in the question. In this function we print values and at the end we call function.

3 0
3 years ago
The sheep in the image below is an example of which of the following?
n200080 [17]

Answer:

balanced space.

Explanation:

This is a edu guess.

5 0
3 years ago
What are the 3 coding languages?
zvonat [6]

Answer:

What theres a code

Explanation:

7 0
3 years ago
Other questions:
  • Which element of a business document provides additional information but is not a part of the body of the text?
    13·2 answers
  • Is the movie IT really that scary ? Rate between 1-10, 10 being I had nightmares
    6·1 answer
  • Your customer, Mykel, is ordering a custom-built computer for his home office and isn’t sure which components should be the high
    12·1 answer
  • Which piece of computer hardware was revised to run hypervisors natively?
    12·2 answers
  • Write a Python program that prints your name, CS classes taken (or other relevant experience), and the date on separate lines. U
    5·1 answer
  • Given the statement: int list[25]; The index can go from 0 to 25 inclusive withoutgoing beyond the end of the array.true or fals
    14·1 answer
  • Can geico save me 15% or more on car insurance?
    8·2 answers
  • Berat wants to compare images of what the streets of New York City looked like one hundred years ago to now. Which of the follow
    14·2 answers
  • Which term describes the process of training a machine to do simple, repetitive tasks, and adapt or correct its performance base
    9·1 answer
  • What is missing link describe briefly with an example class 11?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!