Answer:
The program in C is as follows:
#include <stdio.h>
int main(){
int scores[10];
for(int i = 0; i<10;i++){
scanf("%d", &scores[i]); }
int max = scores[0];
for(int i = 0; i<10;i++){
if(max<scores[i]){
max = scores[i]; } }
for(int i = 0; i<10;i++){
if(max==scores[i]){
printf("%d ", scores[i]);
} }
return 0;
}
Explanation:
This declares the average scores as an integer array
int scores[10];
The following iteration gets the average score for each student
for(int i = 0; i<10;i++){
scanf("%d", &scores[i]); }
This initializes the maximum to the first index
int max = scores[0];
This iterates through the 10 elements of the array
for(int i = 0; i<10;i++){
This makes comparison to get the maximum
if(max<scores[i]){
max = scores[i]; } }
This iterates through the 10 elements of the array
for(int i = 0; i<10;i++){
This prints all maximum in the array
if(max==scores[i]){
printf("%d ", scores[i]);
} }
return 0;
}
explain the structure of c program with example
Answer:
A C program typically consists of a number of components, including preprocessor directives, function prototypes, global variables, functions, and a main function.
Explanation:
Here's an explanation of each component, followed by an example C program that demonstrates their usage:
Preprocessor Directives: Preprocessor directives are instructions to the C preprocessor, which processes the source code before compilation. They usually start with a '#' symbol. Some common directives are #include for including header files and #define for defining constants.
Function Prototypes: Function prototypes provide a declaration of functions that will be used in the program. They specify the function's name, return type, and the types of its parameters.
Global Variables: Global variables are variables that can be accessed by any function in the program. They are usually defined outside of any function.
Functions: Functions are blocks of code that can be called by name to perform specific tasks. They can accept input parameters and return a value. Functions are generally declared before the main function.
Main Function: The main function is the entry point of the program. It's where the execution starts and ends. It has a return type of int and typically takes command-line arguments via two parameters: argc (argument count) and argv (argument vector).
Here's an example C program that demonstrates the structure:
// Preprocessor directives
#include <stdio.h>
// Function prototypes
void print_hello_world(void);
// Global variable
int global_var = 10;
// Functions
void print_hello_world(void) {
printf("Hello, World!\n");
}
// Main function
int main(int argc, char *argv[]) {
// Local variable
int local_var = 20;
printf("Global variable value: %d\n", global_var);
printf("Local variable value: %d\n", local_var);
print_hello_world();
return 0;
}
This simple C program demonstrates the use of preprocessor directives, a function prototype, a global variable, a function, and the main function. When run, it prints the values of a global and a local variable, followed by "Hello, World!".
What additional uses of technology can u see in the workplace
Answer:
Here are some additional uses of technology in the workplace:
Virtual reality (VR) and augmented reality (AR) can be used for training, simulation, and collaboration. For example, VR can be used to train employees on how to operate machinery or to simulate a customer service interaction. AR can be used to provide employees with real-time information or to collaborate with colleagues on a project.Artificial intelligence (AI) can be used for a variety of tasks, such as customer service, data analysis, and fraud detection. For example, AI can be used to answer customer questions, identify trends in data, or detect fraudulent activity.Machine learning can be used to improve the accuracy of predictions and decisions. For example, machine learning can be used to predict customer churn, optimize marketing campaigns, or improve product recommendations.Blockchain can be used to create secure and transparent records of transactions. For example, blockchain can be used to track the provenance of goods, to manage supply chains, or to record financial transactions.The Internet of Things (IoT) can be used to connect devices and collect data. For example, IoT can be used to monitor equipment, track assets, or collect data about customer behavior.These are just a few of the many ways that technology can be used in the workplace. As technology continues to evolve, we can expect to see even more innovative and creative uses of technology in the workplace.
3. You are working for a usability company that has recently completed a usability study of an airline ticketing system. They conducted a live AB testing of the original website and a new prototype your team developed. They brought in twenty participants into the lab and randomly assigned them to one of two groups: one group assigned to the original website, and the other assigned to the prototype. You are provided with the data and asked to perform a hypothesis test. Using the standard significance value (alpha level) of 5%, compute the four step t-test and report all important measurements. You can use a calculator or SPSS or online calculator to compute the t-test. (4 pts)
Answer:
Check the explanation
Explanation:
Let the population mean time on task of original website be \(\mu_1\) and that of new prototype be \(\mu_2\)
Here we are to test
\(H_0:\mu_1=\mu_2\;\;against\;\;H_1:\mu_1<\mu_2\)
The data are summarized as follows:
Sample 1 Sample 2
Sample size n=20 n=20
Sample mean \(\bar{x}_1=243.4\) \(\bar{x}_2=253.4\)
Sample SD s1=130.8901 s2=124.8199
The test statistic is obtained from online calculator as
t=-0.23
The p-value is given by 0.821
As the p-value is more than 0.05, we fail to reject the null hypothesis at 5% level of significance and hence conclude that there is no statistically significant difference between the original website and the prototype developed by the team at 5% level of significance.
Can i get any information on this website i'd like to know what its for ?
https://www.torsearch.org/
Explanation: torsearch.org is a safe search engine mainly used for dark wed purposes. It does not track your location nor give any personal information.
C++
Write a program and use a for loop to output the
following table formatted correctly. Use the fact that the
numbers in the columns are multiplied by 2 to get the
next number. You can use program 5.10 as a guide.
Flowers
2
4
8
16
Grass
4
8
16
32
Trees
8
16
32
64
based on the above, we can write the C++ code as follows..
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
// Output table headers
cout << setw(10) << "Flowers" << setw(10) << "Grass" << setw(10) << "Trees" << endl;
// Output table rows
for (int i = 1; i <= 4; i++) {
cout << setw(10) << (1 << (i-1)) * 2 << setw(10) << (1 << i) * 2 << setw(10) << (1 << (i+2)) * 2 << endl;
}
return 0;
}
How does this work ?Using the iomanip library's setw function, we ensure that the output of this program is properly formatted and aligned in columns. To calculate the values in each column, we iterate through every row of the table via a for loop and rely on bit shifting and multiplication.
As our code outputs these values to the console using << operators, we use endl to create new lines separating each row. The return 0; statement at the very end serves as an indication of successful completion.
Learn more about C++:
https://brainly.com/question/30905580
#SPJ1
What happens when QuickBooks Online doesn't find a rule that applies to a transaction?
QuickBooks employs the Uncategorized Income, Uncategorized Expense, or Uncategorized Asset accounts to hold transactions that it is unable to categorize. These accounts cannot be used to establish bank policies.
What is QuickBooks Online?A cloud-based financial management tool is QuickBooks Online. By assisting you with things like: Creating quotes and invoices, it is intended to reduce the amount of time you spend handling your company's money. monitoring the cash flow and sales.
While QuickBooks Online is a cloud-based accounting program you access online, QuickBooks Desktop is more conventional accounting software that you download and install on your computer.
QuickBooks is an accounting program created by Intuit whose products offer desktop, internet, and cloud-based accounting programs that can process invoices and business payments. The majority of QuickBooks' customers are medium-sized and small enterprises.
Thus, QuickBooks employs the Uncategorized Income.
For more information about QuickBooks Online, click here:
https://brainly.com/question/20734390
#SPJ1
What is a key consideration when evaluating platforms?
Answer:
The continuous performance of reliability data integrity will lead to the benefit and profit of the platform's regular structure changes. Cleanliness in the platform whereas addresses the straightforward structure of task performance and adequate data integrity.
Olivia wants to change some settings in Outlook. What are the steps she will use to get to that function? open Outlook → File → Export open Outlook → View → Settings open Outlook → File → Options open Outlook → Home → Options
Which of the following expressions evaluate to 3.5
Answer: Some expressions equal to 3.5 are 7/2, 3.50, etc
savingsaccount is a class with two double* data members pointing to the amount saved and interest rate of the savings account, respectively. two doubles are read from input to initialize useraccount. use the copy constructor to create a savingsaccount object named copyaccount that is a deep copy of useraccount.
copying a savings account to another; (Note: This assumes that the copy function Object() { [native code] } of the savingsaccount class takes a reference to another savingsaccount object as its parameter.)
The code to make a deep duplicate of a savings account object using the copy function Object() { [native code] } might resemble this, assuming the class definition for savingsaccount has previously been established with the relevant data members and methods:
scss
Code copy
SavingsAccount useraccount(amount, rate); / Assume that useraccount has already been initialised with the proper values; / Create a deep copy of useraccount using the copy function Object() { [native code] };
Useraccount is a savingsaccount object in this code that has been initialised with the value of amount and rate. Useraccount is sent as the parameter to the copy function Object() { [native code] }, which generates a fresh savingsaccount object named copyaccount that is a deep copy of useraccount. This indicates that the amount and rate data members are different copies that copyaccount holds on its own.
Learn more about savings account here:
https://brainly.com/question/14470852
#SPJ4
find four
reasons
Why must shutdown the system following the normal sequence
If you have a problem with a server and you want to bring the system down so that you could then reseat the card before restarting it, you can use this command, it will shut down the system in an orderly manner.
"init 0" command completely shuts down the system in an order manner
init is the first process to start when a computer boots up and keep running until the system ends. It is the root of all other processes.
İnit command is used in different runlevels, which extend from 0 through 6. "init 0" is used to halt the system, basically init 0
shuts down the system before safely turning power off.
stops system services and daemons.
terminates all running processes.
Unmounts all file systems.
Learn more about server on:
https://brainly.com/question/29888289
#SPJ1
Get the user to enter some text and print it out in reverse order.
Answer:
strrev in c/c++
Explanation:
Are AWS Cloud Consulting Services Worth The Investment?
AWS consulting services can help you with everything from developing a cloud migration strategy to optimizing your use of AWS once you're up and running.
And because AWS is constantly innovating, these services can help you keep up with the latest changes and ensure that you're getting the most out of your investment.
AWS consulting services let your business journey into the cloud seamlessly with certified AWS consultants. With decades worth of experience in designing and implementing robust solutions, they can help you define your needs while executing on them with expert execution from start to finish! AWS Cloud Implementation Strategy.
The goal of AWS consulting is to assist in planning AWS migration, design and aid in the implementation of AWS-based apps, as well as to avoid redundant cloud development and tenancy costs. Project feasibility assessment backed with the reports on anticipated Total Cost of Ownership and Return on Investment.
Learn more about AWS consulting, here:https://brainly.com/question/29708909
#SPJ1
dofemines the colour Hoto to Windows - Frome
You can use these techniques to figure out the colour photo in Windows. Open the image or photo file on your Windows computer first.
Then, check for choices or tools linked to colour settings or modifications, depending on the picture viewer or editor you're using.
This could be found under a menu item like "Image," "Edit," or "Tools." You can adjust a number of factors, including brightness, contrast, saturation, and hue, once you've accessed the colour options, to give the shot the appropriate colour appearance.
Play around with these options until you get the desired colour result.
Thus, if necessary, save the altered image with the new colour settings.
For more details regarding Windows, visit:
https://brainly.com/question/17004240
#SPJ1
Your question seems incomplete, the probable complete question is:
determine the colour photo to Windows
Distinguish between composition and inheritance.
Answer:
compotsition: The combining of distinct parts or elements to form a whole
Inheritance: The action of inheriting something
Explanation:
Which of the following statements are true about how technology has changed work? Select 3 options. Responses Businesses can be more profitable by using communication technology to reduce the costs of travel. Businesses can be more profitable by using communication technology to reduce the costs of travel. With the spread of technology and the Internet, smaller businesses are not able to compete as effectively as before. With the spread of technology and the Internet, smaller businesses are not able to compete as effectively as before. In a gig economy, workers are only hired when they are needed for as long as they are needed. In a gig economy, workers are only hired when they are needed for as long as they are needed. Through the use of the Internet and collaboration tools more workers are able to perform their jobs remotely. Through the use of the Internet and collaboration tools more workers are able to perform their jobs remotely. Technology has not really changed how businesses operate in the last fifty years. Technology has not really changed how businesses operate in the last fifty years.
The three genuine statements almost how technology has changed work are:
Businesses can be more productive by utilizing communication technology to decrease the costs of travel. This can be genuine since advances like video conferencing and virtual gatherings permit businesses to conduct gatherings, transactions, and collaborations remotely, lessening the require for costly travel courses of action.With the spread of technology and the Web, littler businesses are not able to compete as successfully as some time recently. This explanation is genuine since innovation has empowered bigger companies to use their assets and reach a worldwide advertise more effortlessly, making it challenging for littler businesses to compete on the same scale.Through the utilize of the Web and collaboration devices, more laborers are able to perform their occupations remotely. This explanation is genuine as innovation has encouraged farther work courses of action, allowing employees to work from anyplace with an online association. Collaboration instruments like extend administration computer program and communication stages have made inaccessible work more doable and effective.Technology explained.
Technology alludes to the application of logical information, aptitudes, and devices to form innovations, fathom issues, and move forward proficiency in different spaces of human movement. It includes the improvement, usage, and utilize of gadgets, frameworks, and processes that are outlined to achieve particular assignments or fulfill specific needs.
Technology can be broadly categorized into distinctive sorts, such as data technology, communication technology, therapeutic innovation, mechanical technology, and transportation technology, among others. These categories include different areas, counting computer science, hardware, broadcast communications, building, and biotechnology.
Learn more about technology below.
https://brainly.com/question/13044551
#SPJ1
Algorithm:
Suppose we have n jobs with priority p1,…,pn and duration d1,…,dn as well as n machines with capacities c1,…,cn.
We want to find a bijection between jobs and machines. Now, we consider a job inefficiently paired, if the capacity of the machine its paired with is lower than the duration of the job itself.
We want to build an algorithm that finds such a bijection such that the sum of the priorities of jobs that are inefficiently paired is minimized.
The algorithm should be O(nlogn)
My ideas so far:
1. Sort machines by capacity O(nlogn)
2. Sort jobs by priority O(nlogn)
3. Going through the stack of jobs one by one (highest priority first): Use binary search (O(logn)) to find the machine with smallest capacity bigger than the jobs duration (if there is one). If there is none, assign the lowest capacity machine, therefore pairing the job inefficiently.
Now my problem is what data structure I can use to delete the machine capacity from the ordered list of capacities in O(logn) while preserving the order of capacities.
Your help would be much appreciated!
To solve the problem efficiently, you can use a min-heap data structure to store the machine capacities.
Here's the algorithm:Sort the jobs by priority in descending order using a comparison-based sorting algorithm, which takes O(nlogn) time.
Sort the machines by capacity in ascending order using a comparison-based sorting algorithm, which also takes O(nlogn) time.
Initialize an empty min-heap to store the machine capacities.
Iterate through the sorted jobs in descending order of priority:
Pop the smallest capacity machine from the min-heap.
If the machine's capacity is greater than or equal to the duration of the current job, pair the job with the machine.
Otherwise, pair the job with the machine having the lowest capacity, which results in an inefficient pairing.
Add the capacity of the inefficiently paired machine back to the min-heap.
Return the total sum of priorities for inefficiently paired jobs.
This algorithm has a time complexity of O(nlogn) since the sorting steps dominate the overall time complexity. The min-heap operations take O(logn) time, resulting in a concise and efficient solution.
Read more about algorithm here:
https://brainly.com/question/13902805
#SPJ1
If you wanted to use the numeric key pad to multiply 8 and 5 and then divide by 2, you would type
1. 8/5*2
2. 5/2/8
3. 8*5*2
4. 8*5/2
Answer:
Option 4 would be your best answer
Explanation:
The * means multiply
And the / means Divide
Hope this helps :D
You are testing the user experience.
Which of these are issues that affect the user experience?
Select 2 options.
You did not use comments to document your code.
A user complained about the language used in the program.
The variables do not have meaningful names.
The program should have used a loop for a repetitive process.
The numerical results are not calculated correctly.
Answer:
You can answer this very easily by considering which of the circumstances affect the end user and which affect the developer:
1) Didn't use comments in the code
- affects developers
2) User complaints about language used in the program
- affects users
3) The variables have meaningless names
- affects developers
4) The program should have used a loop
- affects developers
5) The numeric results are incorrect
- affects users
Your answers then are 2 and 5, spoken languages and incorrect output will very much affect the user experience.
The issues that affect the user experience user complained about the language used in the program. The numerical results are not calculated correctly. The correct option is B and E.
What is user experience?The term "user experience" describes how a product, application, system, or service makes the user feel.
It is a general term that can refer to anything, including how easily a user can navigate a product, how simple it is to use, how pertinent the shown content is, etc.
Information architecture, interaction design, and graphic design are the three primary subfields of UX design.
The focus of interaction design is on how customers engage with a given good or service. This covers the creation of user interfaces, including buttons and menus.
The problems affecting user experience The program's wording was criticized by a user. The numerical outcomes are incorrectly calculated.
Thus, the correct option is B and E.
For more details regarding user experience, visit:
https://brainly.com/question/29352526
#SPJ2
Describe the procedure for creating a table or spreadsheet in a presentation slide.
Answer:
Use a slide layout containing the desired icon.
Double-click on the icon.
Enter and format text; add borders if desired.
Click outside of the object to view it in the slide.
Joe, Kate and Jody are members of the same family. Kate is 5 years older than Joe. Jody is 6 years older than Kate . The sum of their ages squared is 961 years. What are their ages?
Answer:
5, 10 and 16
Explanation:
The sum of their ages is √961 = 31
If Joe is x years old, the equation that follows is:
x + (x+5) + (x+5+6) = 31
This simplifies to
3x = 31 - 11 - 5 = 15
so x=5
From that you can find
Joe = x = 5
Kate = x+5 = 10
Jody = x+5+6 = 16
ethical issues of cyber bullying
Answer:
Explanation: As a student, I am aware of the existence of Cyber-bullying and the manner in which it can be carried out. I am also sensitive to the serious nature of the problem. However, I realise that I need to know more about the issue if I am to be effective in fostering a supportive learning environment in which students can grow as good digital citizens.
Cyber-bullying is similar to traditional psychological bullying in that-
There is an imbalance of power between the victim & perpetrator.
Victims draw negative attention & are isolated from their peer group.
Perpetrators are often encouraged & supported by their peer group.
The actions of the perpetrator are deliberate, repeated & relentless.
The negative attention is uninvited & unwanted by the victim.
The effects often cause depression, anxiety, low self-esteem, poorer mental & physical health and school avoidance.
Using the in databases at the , perform the queries show belowFor each querytype the answer on the first line and the command used on the second line. Use the items ordered database on the siteYou will type your SQL command in the box at the bottom of the SQLCourse2 page you have completed your query correctly, you will receive the answer your query is incorrect , you will get an error message or only see a dot ) the page. One point will be given for answer and one point for correct query command
Using the knowledge in computational language in SQL it is possible to write a code that using the in databases at the , perform the queries show belowFor each querytype.
Writting the code:Database: employee
Owner: SYSDBA
PAGE_SIZE 4096
Number of DB pages allocated = 270
Sweep interval = 20000
Forced Writes are ON
Transaction - oldest = 190
Transaction - oldest active = 191
Transaction - oldest snapshot = 191
Transaction - Next = 211
ODS = 11.2
Default Character set: NONE
Database: employee
Owner: SYSDBA
PAGE_SIZE 4096
...
Default Character set: NONE
See more about SQL at brainly.com/question/19705654
#SPJ1
input("Enter a number: ")
print(num * 9)
Note that in the above case, if a person save the input as num,
this will print the input 9 times.
How do you go about this code?Therefore, since there is 9 times:
So
num = input("Enter a number: ")
print(num * 9)
If a person actually want to do a real math calculations, then one need to input needs to be inside the number.
num = float(input("Enter a number: "))
print(num * 9)
This is one that do not bring about any errors where the user do not input a number.
Learn more about coding from
https://brainly.com/question/23275071
#SPJ1
Your supervisor has asked you if it is possible to monitor servers for potential port scans via SNMP. What two OIDs can you provide to your supervisor that may show when a port scan is in progress
Explanation:
The two OIDs can you provide to your supervisor that may show when a port scan is in progress are:
UdpNoPorts
TcpOutRsts
UdpNoPorts and TcpOutRsts may show when a port scan is in progress.
Why a commerce student must learn about SDLC (Software Development Life Cycle) and its phases?
How SDLC could help a commerce graduate in career growth and success?
Answer:
The description of the given question is described throughout the explanation segment below.
Explanation:
A method that delivers the best reliability as well as cheapest possible applications throughout the specified timeframe, is termed SDLC. A business student could perhaps read about such a life cycle and its stages when individuals not only relate to scientific issues and mean effective pressure.
Whenever a successful entrepreneur does an inventory of an enterprise, people are useful. SDLC demonstrates the capacity for decision-making or judgments.
how do I turn it on the orange button isn’t working :,)
Answer:
keep holding it
Explanation:
What is nanotechnology?
Answer:
Nanotechnology is a field of research and innovation concerned with building 'things' - generally, materials and devices - on the scale of atoms and molecules.
Explanation:
The diameter of a human hair is, on average, 80,000 nanometres.A nanometre is one-billionth of a metre – ten times the diameter of a hydrogen atom.Answer:
Nanotechnology are the areas of science and engineering where phenomena that take place at dimensions in the nanometre scale are utilised in the design, characterisation, production and application of materials, structures, devices and systems.
Which of the following options best explains the "who" of clear and effective
delivery?
A. Where you will share your thoughts and ideas on a topic
B. What you hope to achieve through your communication
O C. The approach that will best reach your audience
D. The audience you hope your message affects
SUBMIt
Answer:B. What you hope to achieve through your communication
Explanation:
During the installation of Windows Server 2019 Standard Edition, you encounter a disk that is marked as Disk 0 Unallocated Space on the Windows Setup wizard. What should you do to complete the installation on this disk
There are different kinds of system software. What should you do to complete the installation on this disk is to Create a new partition and then perform the installation
How are Hands-On Projects done?This kind of project are often completed in the right order that they were given and it often take about three hours or less to complete it in general. This projects needs:
• A system that has Windows Server 2019 that is said to be already installed based on Hands-On Project 1-1/1-2.
• A Windows Server 2019VM2 virtual machine also installed based on Hands-On Project 3-5.
Note that when one wants to install an operating system, one has to drive or make partition available so as to copy all the files..
During the installation of Windows Server 2019 Standard Edition, you encounter a disk that is marked as Disk 0 Unallocated Space on the Windows Setup wizard.
What should you do to complete the installation on this disk?
Create a new partition and then perform the installation
Load the device drivers for the Disk
Click Next to proceed with the installation
Format the disk using the Format option
Learn more about Windows Server from
https://brainly.com/question/25554117