Answer:
This solution is provided in C++
#include <iostream>
using namespace std;
double sumFancyArray(double myarr[][6]){
double sum = 0.0;
for(int i = 0;i<2;i++) {
for(int j = 0;j<6;j++){
sum+=myarr[i][j];
}}
return sum;
}
void printFancyArray(double myarr[][6]){
for(int i = 0;i<2;i++) {
for(int j = 0;j<6;j++){
cout<<myarr[i][j]<<" ";
}
}
}
int main(){
double myFancyArray[2][6] = {23, 14.12, 17,85.99, 6.06, 13, 1100, 0, 36.36, 90.09, 3.145, 5.4};
cout<<sumFancyArray(myFancyArray)<<endl;
printFancyArray(myFancyArray);
return 0;
}
Explanation:
This function returns the sum of the array elements
double sumFancyArray(double myarr[][6]){
This initializes sum to 0
double sum = 0.0;
This iterates through the row of the array
for(int i = 0;i<2;i++) {
This iterates through the column
for(int j = 0;j<6;j++){
This adds each element
sum+=myarr[i][j];
}}
This returns the sum
return sum;
}
This method prints array elements
void printFancyArray(double myarr[][6]){
This iterates through the row of the array
for(int i = 0;i<2;i++) {
This iterates through the column
for(int j = 0;j<6;j++){
This prints each array element
cout<<myarr[i][j]<<" ";
}
}
}
The main starts here
int main(){
This declares and initializes the array
double myFancyArray[2][6] = {23, 14.12, 17,85.99, 6.06, 13, 1100, 0, 36.36, 90.09, 3.145, 5.4};
This calls the function that returns the sum
cout<<sumFancyArray(myFancyArray)<<endl;
This calls the function that prints the array elements
printFancyArray(myFancyArray);
return 0;
}
Which sentence is an effective example of language for the following scenario?
Aaron's coworker Bryce has not been working on the team project their boss assigned them.
Answer:
"I feel like this assignment isn't a priority to you"
Explanation:
Given that I-language is a term used in the depicting or forming individuals' perception or point of view of a given situation or statement instead of the actual statement. It is fully known as Internal language.
Hence, in this case, the term "Aaron's coworker Bryce has not been working on the team project their boss assigned them, " can be translated into "I feel like this assignment isn't a priority to you" in I-Language.
Your organization has hired a penetration tester to validate the security of your environment. The penetration tester needs to document which ports are being listened on for the various servers. Which type of tool will the penetration tester most likely use
Answer:
Port scanner
Explanation:
The penetration tester would most likely use a port scanner. A port scanner can be explained to be an application that is made to check a server or host for ports that are open. This application can also be used by administrators to check their security networks so as to know those network services that are running on a host and also to know existing vulnerabilities. Attackers also use this to exploit victims.
Ismael is examining a report in Access. He needs to access a view that will be used to examine and change the structure of the report, including the ability to add or modify controls. Which view should he choose?
Design
Layout
Print Preview
Report
Answer:
The answer is "Design"
Explanation:
Reports offer an approach to view, design, and sum up the data in your Microsoft Access information base. For instance, you can make a basic report of telephone numbers for every one of your contacts, or a rundown report on the absolute deals across various locales and You can make a wide range of reports in Access, going from the easy to the complex. Start by contemplating your report's record source.
Regardless of whether your report is a straightforward posting of records or a gathered rundown of deals by area, you should initially figure out which fields contain the information you need to find in your report, and in which tables or inquiries they reside.
Create a 100-word internet company
Answer:
The World Wide Web.
Explanation:
The World Wide Web was created at CERN in Switzerland in 1990. Today, people can pay money to access the Internet from internet service providers.
Hope this helps!
xoxo,
cafeology
What are the two types of programming languages?
Answer:
High level language.
Low level language
Explanation:
please give brainliest
We have constructed a Player Class for you. Add the following: public static variable: int totalPlayers Static variable should be an int. The value should be incremented whenever a new Player is constructed. public static variable: int maxPlayers Static variable should be an int. Set its value to 10. public static method: gameFull() The gameFull() static method should return a boolean of whether the total players is greater than or equal to the maxPlayers static variable.
Answer:
public class Player {
public static int totalPlayers = 0;
public static int maxPlayers = 10;
public static boolean gameFull() {
return totalPlayers >= maxPlayers;
}
public Player() { // Player class constructor
totalPlayers++;
}
}
Explanation:
The Java program defines the class Player which has two public class variables and a public method. The class constructor increases the totalPlayer variable by one for every player object created.
Outline three requirements for linear programming
Each of the following is a component of the telecommunications industry except _____.
spreadsheets
wired communications
broadcasting
HDTV
Climatologist use weather balloons, stethoscopes, and satellites true or false
Answer:
False.
Explanation:
A stethoscope is a medical instrument which is used for listening to the work of the heart and lungs. It consists of a microphone that rests on the patient's chest, and rubber tubes that bring the sound to the earphones. An ordinary stethoscope does not have any moving or electrical parts, as it only mechanically conducts sound from the patient's chest to the doctor's ear. One of the simplest examinations that doctors perform today is listening to the lungs and heart with a stethoscope. With the help of this instrument, noises are heard during the work of the lungs and heart.
Is there anyone that knows how to work in Microsoft Access and someone that could help me on my test at 11 30am?
Answer:
ok i help you i like it 11:30 ok
Write a function that will find the cost to send an international fax. The service charge is $7.00. It costs $0.45 per page for the first ten pages and $0.10 for each additional page. Take as parameter the number of pages to be faxed, and calculate the total amount due. The total amount due is returned to the main program.
Answer:
This function is written in python
def intlfax(pages):
if pages <=10:
fax = 7 + 0.45 * pages
else:
fax = 7 + 0.45 * 10 + 0.10 * (pages - 10)
return fax
Explanation:
This line defines the function
def intlfax(pages):
This checks if pages is less than or equal to 10 and calculates the fax
if pages <=10:
fax = 7 + 0.45 * pages
If otherwise, it also calculates the fax (differently)
else:
fax = 7 + 0.45 * 10 + 0.10 * (pages - 10)
This returns the calculated fax
return fax