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
ExtremeBDS [4]
3 years ago
11

Write a program C statement to declare and initialize an array named afTest1 type float to store

Computers and Technology
1 answer:
Valentin [98]3 years ago
6 0

Answer:

#include <stdio.h>

int main()

{

   float afTest1[5] = {90, 30, 25, 45, 55};

   for (int i = 0; i < 5; i++) {

       printf("%f ", afTest1[i]);

   }

   return 0;

}

Explanation:

Initialize the elements of the array as 90, 30, 25, 45, 55

Create a for loop that iterates through the array

Inside the loop, print each element using printf function

You might be interested in
Task 7: The following is a quiz program that asks the us-
Leni [432]

Answer:

peread

Explanation:

7 0
3 years ago
Mel is skilled in identifying the technical, economic, and organizational feasibility of software. In which phase of SDLC should
kirill115 [55]

SDLC refers to Software/System Development Life Cycle, which is defined as <em>a process involving various stages to ensure high-quality end product.</em>

It generally contains six phases: planning, analysis, design, implementation, testing, deployment, and maintenance.

A person with Mel’s level of capability should be dealing with the (A) analysis level of SDLC.

5 0
3 years ago
________ are not used for querying and analyzing data stored in data warehouses. Group of answer choices Word processing program
Mashcka [7]

Answer:

Word processing programs

Explanation:

Q:

________ are not used for querying and analyzing data stored in data warehouses.

A:

Word processing programs

3 0
2 years ago
7. You were discussing software piracy with a friend and were surprised to learn how software piracy can impact your life every
Anna007 [38]
Software piracy hurts everyone. It affects the live of the one who develops it and also you pirates it.
Someone develop it spending all his efforts, time and money but you will just rob all their efforts.
3 0
3 years ago
a. The two programs perform the same function. Describe it. b. Which version performs better, and why
Ulleksa [173]

Programs are series of instructions interpreted by a computer

  • The description of the program is to compute the square of the difference between corresponding elements of two arrays
  • The better version of the program is program A.

<h3>How to describe the programs</h3>

From the programs, we have the following highlights

  • The program iterates from 1 to n - 1
  • The iteration calculates the difference between corresponding elements of the arrays
  • The difference is then squared

Hence, the description of the program is to compute the square of the difference between corresponding elements of two arrays

<h3>The better version</h3>

The better version of the program is program A.

This is so, because the program uses fewer instructions for the same task as program B

Read more about programs at:

brainly.com/question/16397886

3 0
2 years ago
Other questions:
  • Write the interface (.h file) of a class Counter containing: A data member counter of type int. A data member named counterID of
    13·1 answer
  • Assume that name and age have been declared suitably for storing names (like "Abdullah", "Alexandra" and "Zoe") and ages respect
    8·1 answer
  • For this problem, you will write a function standard_deviation that takes a list whose elements are numbers (they may be floats
    10·1 answer
  • Which of the following best describes a good role model?
    6·2 answers
  • (15 POINTS + BRAINLIEST) My friend is trying to make an account on brainly, but she can't sign in. All it just says is, “We cann
    5·2 answers
  • PLEASE HELP ASAP<br> Which technology encrypts traffic between a web browser and a website?
    10·2 answers
  • _____ formatting is the process of changing the way letters, numbers, punctuation marks, and symbols appear on the screen and in
    14·1 answer
  • Internet Security: How can you work securely on the internet? What actions should be avoided and what are the pitfalls?
    9·1 answer
  • Describe the major elements and issues with system prototyping​
    7·1 answer
  • a developer manages an application that interacts with amazon rds. after observing slow performance with read queries, the devel
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!