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
Serggg [28]
4 years ago
11

Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all th

e non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. SUBMIT
Computers and Technology
1 answer:
Vitek1552 [10]4 years ago
4 0

Answer:

rhe varable is the same aas  dhdhcs nfwnfgd

Explanation:

You might be interested in
In this lab, you open a file and read input from that file in a prewritten C program. The program should read and print the name
Bezzdna [24]

Answer:

#include <stdio.h>

#include <string.h>

void main( )

{

array flowerProp[2];

FILE *fp; // file pointer

char flower[255]; // creating a char array to store data

fp = fopen("flowers.dat","r");

if (fp == NULL){

   printf("File flower.dat does not exist");

   return;

}

// assuming the growing condition is next line to the flower name.

while(fscanf(fp, "%s", flower)!=EOF){

   flowerProp.push(flower);

   if (flowerProp.length == 2){

       printf("%s: %s\n ", flowerProp[0], flowerProp[1]);

       memset(flowerProp, 0,0);

   }

}    

fclose (fp );

}

Explanation:

The algorithm creates a pointer to the memory location to the file starting position, the character size is used to get a string from the file line by line. Then it opens and checks if the file exists.

If the file exists, the while gets the name and growth condition of the flower, saves it to an array, prints the name and condition, and clears the array for the next flower type in the loop.

5 0
3 years ago
The \t and \n are examples of one of Python's escape characters.<br><br> A. True<br> B. False
natali 33 [55]

Answer:

A. true

Explanation:

Step 1: int fun(int); This is prototype of function fun().It tells the compiler that the function fun() accept one integer parameter and returns an integer value.. Step 2: int i=3; The variable i

4 0
2 years ago
Your textbook discussed a record store example where one user could perform a query to determine which recordings had a track le
gladu [14]

Answer:

The answer is "Increased flexibility".

Explanation:

In the given question some information is missing that is the option of the question which can be described as follows:

A. Enhance scalability and efficiency

B. Enhance data security

C. Reducing data duplication

D. Increased flexibility

Flexibility is being used as an object for different types of applications. It is an engineering system which is that provides an easy way for all the scheme to respond to insecurity so, that its value is maintained or increased, It is also known as its key component, and certain option was incorrect, which can be described as follows:

  • In option A, It is wrong because it is used in business data.
  • In option B, It is wrong because it provides security.
  • In option C, It removes duplicate data that's why it is wrong.
3 0
3 years ago
A cell has an unlimited number of conditions for Conditional Formatting.<br> A.true<br> B.false
Mekhanik [1.2K]
I believe the answer is false.
I Hope this helps! :)
If you don't understand plz message me
If you do plz brainlest
Thank you!
7 0
3 years ago
PLEASE HELP!! Which of the following computing devices would best address the needs for a CYBER SECURITY ANALYST?
Tomtit [17]

Answer:high end laptop.

Explanation:

5 0
4 years ago
Other questions:
  • When should you check to see that fuel lines, connections, and fuel vents are in good condition?
    7·1 answer
  • Who can effectively use website authoring software?
    6·1 answer
  • PLEASE HELP I NEED RIGHT ANSWER!
    9·2 answers
  • What is a expansion card for computer?
    5·1 answer
  • Why was Unicode invented?
    11·1 answer
  • How many 16-byte cache blocks are needed to store all 64-bit matrix elements being referenced using matlab's matrix storage?
    15·1 answer
  • Write a program that computes the minimum, maximum, average and standard deviation of the population over time for a borough (en
    6·1 answer
  • Anyone know what I’m supposed to do?
    11·1 answer
  • Public class Dog
    7·1 answer
  • What is one example of an emerging class of software
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!