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
Andre45 [30]
2 years ago
7

Which xxx completes the code to read every integer from file "data. txt"? fileinputstream inputstream = null; scanner infs = nul

l; int total = 0; inputstream = new fileinputstream("data. txt"); infs = new scanner(filebytestream); while(xxx){ total = total + infs. nextint(); } system. out. println("total: " + total); group of answer choices inputstream. hasnextint( ) total != 0 infs. hasnextint( ) infs. eof( ) == false
Computers and Technology
1 answer:
luda_lava [24]2 years ago
3 0

Answer:

total+ infs . nex (xxx){total}

Explanation:

this is correct theres nothing wrong

You might be interested in
Define a function SetTime, with int parameters hoursVal and minutesVal, that returns a struct of type TimeHrMin. The function sh
Lapatulllka [165]

Answer:

#include <stdio.h>

typedef struct TimeHrMin_struct //struct

{

int hours;

int minutes;

} TimeHrMin;

struct TimeHrMin_struct SetTime(int hoursVal,int minutesVal) //SetTime function

{

struct TimeHrMin_struct str;

str.hours=hoursVal; //assigning the values

str.minutes=minutesVal;

return str; //returning the struct

}

int main(void)

{

TimeHrMin studentLateness;

int hours;

int minutes;

scanf("%d %d", &hours, &minutes);

studentLateness = SetTime(hours, minutes); //calling the function

printf("The student is %d hours and %d minutes late.\n", studentLateness.hours, studentLateness.minutes);

return 0;

}

Explanation:

4 0
3 years ago
your brother has made a battery operated torch by using 2 cells &amp; has come to ask you how he may make the torch more powerfu
torisob [31]

Answer: Add more cells in series.

Explanation:

Adding more cells in series will add voltage which will increase the power.

5 0
3 years ago
Jessie has received a contract to build a real-time application for a baker. However, the baker doesn't want to invest too much
AleksandrR [38]

Answer:

D. Ionic framework

Explanation:

Out of all mentioned above, the best for developing the progressive app is certainly the Ionic. This is because it is an open-source, hybrid mobile app, cross-platform, and comes with the services and tools that are required for developing the app using web technologies like HTML5, Sass, and CSS. And Ionic happens to be the cheapest of all the framework mentioned above. Hence, it is the correct option. You can load your app on almost all the major app stores, and this is the biggest advantage with Ionic.

8 0
3 years ago
Read 2 more answers
Evaluate each condition as to whether it is true or not.
ivann1987 [24]

Answer:

For the first one you have not met those requirements because you are still 16, for the second one you have met those requirements because you can either have a score over 30 (which you have 34) or be a valedictorian

Explanation:

Above

7 0
2 years ago
Whers the main characteristic of a Peer-to-peer (P2P) network?
ioda

The answer to this would be B

5 0
3 years ago
Other questions:
  • Using Gen/Spec, classes can be organized by using a peer-to-peer inheritanc True/false
    10·1 answer
  • System software falls into two categories: operating system software and ____ programs.â
    13·1 answer
  • Which of the following is a full selector?
    12·1 answer
  • Security awareness training can reduce the risk of a data breach by what percentage?
    12·1 answer
  • 1. Which of the following is NOT an example of systems software? (Points : 1)
    5·2 answers
  • Eniac was the first desktop computer. t/f
    5·1 answer
  • An effective problem statement ensures that
    12·1 answer
  • PLEASE HELP!!! History abounds with instances in which the work of scientists and artists were affected by the political, religi
    9·1 answer
  • Five advantages of Internet​
    6·2 answers
  • What do you get with brainly points
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!