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
Linda works from home occasionally and needs to set up her computer at work so she can remote in from her home office. Which too
qwelly [4]

Explanation:

Check the type of hard drive installed.

hope this helps you ❣️

4 0
3 years ago
Is the willingness to put a customer’s needs above ones own needs and to go beyond a job description to achieve customer satisfa
klemol [59]

Answer:

customer-serious orientation

Explanation:

Customer-serious orientation can be defined as the willingness to put a customer’s needs above ones own needs and to go beyond a job description to achieve customer satisfaction.

This ultimately implies that, a customer-serious oriented business firm or company puts the needs, wants and requirements of its customers first without considering their own needs in a bid to satisfy and retain them.

Hence, customer-serious orientation requires the employees working in an organization to show and demonstrate positive attitudes and behaviors at all times.

6 0
3 years ago
Which of the following networks had these two goals: a) allowing scientists to work together on scientific projects; and, b) fun
MatroZZZ [7]

Answer: ARPANET

Explanation: ARPANET is network based on the internet which uses the technique of sending data in small packets/units known as packet switching . It helps in effective communication in the field of military while even some nuclear attack destructs the network. It was a method used in the scientific field for the ease of work of scientists by linking different computers to work with high processing and power.

6 0
3 years ago
What does mean I can’t turn on my computer and my computer won’t charge at all
Dmitrij [34]

Explanation:

well that happened to me to and what my dad did was to cut the cable and fix it,it worked.Ithink my situation is very different than yours but you cantiue to see what else it says and if you want to you can text me back.

5 0
3 years ago
What is the output of the sum of 1001011 and 100011 displayed in hexadecimal?
N76 [4]

Answer:

1001011_2    +   100011_2   =    6E_{hex}

Explanation:

Required

1001011_2 + 100011_2 = []_{16}

First, carry out the addition in binary

1001011_2    +   100011_2   =    1101110_2

The step is as follows (start adding from right to left):

1 + 1 = 10 --- Write 0 carry 1

1 + 1 + 1(carry) = 11 ---- Write 1 carry 1

0 + 0 + 1(carry) = 1 ---- Write 1

1 + 0 = 1 --- Write 1

0 + 0 = 0 ---- Write 0

0 + 0 = 0 ---- Write 0

1 + 1 = 10 --- Write 0 carry 1

No other number to add ; So, write 1 (the last carry)

So, we have:

1001011_2    +   100011_2   =    1101110_2

Next, convert 1101110_2 to base 10 using product rule

1101110_2 = 1 * 2^6 +1 * 2^5 + 0 * 2^4 + 1 * 2^3 + 1 * 2^2 + 1 * 2^1 + 0 * 2^0

1101110_2 = 64 +32 + 0 + 8 + 4 + 2 + 0

1101110_2 = 110_{10}

Lastly, convert 110_{10} to hexadecimal using division and remainder rule

110/16 \to 6\ R\ 14

6/16 \to 0\ R\ 6

Write the remainder from bottom to top;

110_{10} = 6(14)_{hex}

In hexadecimal

14 \to E

So, we have:

110_{10} = 6E_{hex}

Hence:

1001011_2    +   100011_2   =    6E_{hex}

3 0
3 years ago
Other questions:
  • After configuring a static IP address on a desktop computer, the technician finds that he cannot communicate with other devices
    10·1 answer
  • What is information technology?
    12·1 answer
  • What is the output of the following function if the array nums contains the values 1 2 3 4 5 int backwards(int nums[]) { for (x
    15·1 answer
  • Write a C program (doublecopy) that allows a user to extract some part of an existing file (fileSource) and copy it twice to a n
    5·1 answer
  • Which of the following behaviors does not harm a company if your employment is terminated?
    9·1 answer
  • Name the reactants in the equation P+O​
    13·1 answer
  • What is digital scavenger hunting? A. An application that locates addresses B. A scavenger hunt where players use GPS and digita
    5·1 answer
  • How does using wind energy relate to our world today?
    8·2 answers
  • Three positive impacts of computer technology in our society.​
    7·2 answers
  • Verizon's implementation of a web-based digital dashboard to provide managers with real-time information such as customer compla
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!