Answer:
In C:
#include <stdio.h>
#include <stdlib.h>
int main() {
int r,c;
printf("Row: "); scanf("%d", &r);
printf("Cols: "); scanf("%d", &c);
double *myarr = (int *)malloc(r * c * sizeof(int));
double inputs = 0.0;
for (int rww = 0; rww < r; rww++){
for (int ccl = 0; ccl < c; ccl++){
inputs= inputs+1.0;
*(myarr + rww*ccl + ccl) = inputs; }}
return 0;}
Explanation:
This declares the rows and columns as integers
int r,c;
This gets the number of rows
printf("Row: "); scanf("%d", &r);
This gets the number of columns
printf("Cols: "); scanf("%d", &c);
This dynamically allocate space for array myart
double *myarr = (int *)malloc(r * c * sizeof(int));
This initializes the inputs to the array to 0.0
double inputs = 0.0;
This iterates through the array and initializes each element of the array by its index
for (int rww = 0; rww < r; rww++){
for (int ccl = 0; ccl < c; ccl++){
inputs= inputs+1.0;
*(myarr + rww*ccl + ccl) = inputs; }}
Information Technology
Answer:
whats the question
Explanation:
Answer: The study or use of systems. Especially computers and telecommunications for storing, retrieving, and sending information.
Explanation: I don't know what you're asking buddy. If you're asking for the definition then there you go. Next time add the question :)
Which entry by the user will cause the program to halt with an error statement?
#Get a guess from the user and update the number of guesses.
guess = input("Guess an integer from 1 to 10:")
guess = int(guess)
A two
B 100
C 3
D -1
Answer:
A
Explanation:
Helllp me you will git 16 points
Answer:
False
Hope it helps...
Have a great day :P
paisa pay is facilitated in which e commerce website
Answer:
The answer is "Option A".
Explanation:
The PaisaPay is the digital payment service of eBay, whereby buyers can pay sellers through credit card or Online Money Order. For quick, safe transactions or their cash back, their buyers must use PaisaPay. So, it is easier to go to eBay.co.in, was its digital payment service of eBay, whereby purchasers can charge vendors by credit card or Online Bank Transfer.
Why is it important that you cite your sources?
Answer:
1. It gives credit to the authors/creators who's work you used.
2. Allows people who read your work a way find your sources if they want to learn more.
Solving Systems of Equations by Substitution
pdf
PLZ HELP !!!!!
plzzzz
Answer:
Producers
Explanation:
Producers manufacture and provide goods and services to consumers.
what are the main technologies that have contributed to the growth and commercialization of the internet .
Answer:
Explanation: The main forces that led to the commercialization of the internet are its demand and the importance of the Internet.
TCP and IP technologies allowed for the connection of many networks to form on large network. This tech used packets and provided error-recovery mechanisms. Hence many small networks were combined to form the internet.
There are several technology of the Internet and the World Wide Web. The hand of projects in computer networking, mostly funded by the federal government.
The projects made communications protocols that shows the format of network messages, prototype networks, and application programs such as browsers.The advent of computer devices and telephone network was the underlying physical infrastructure upon which the Internet was built. The commercialization and exponential growth of the internet started in the early 1990s.
It was due to high meetup of technologies, including the development of personal computers with graphical operating systems, widespread availability of internet connection services, the removal of the restriction of commercial use on NSFnet, etc.
Conclusively, These happenings combined to give the commercial push for an easy way to share and access information.
Learn more from
https://brainly.com/question/22600646
Select the correct answer.
Which function returns the lowest value of a given set of numbers or range of cells?
A.
ROUND
B.
COUNT
C.
MAX
D.
MIN
Answer:
D. Min
Explanation:
Wesley purchased a word-processing software program. He used it for a year, during which he got regular updates every two months. After a year, he was not allowed to update the software. However, he could continue using it. Why did the updates stop?
Group of answer choices.
A. The software was corrupt and resulted in a bug.
B. He purchased a license with maintenance for a year.
C. The organization discontinued the software.
D. He purchased an open-source license.
E. He purchase a perpetual non-maintenance license.
Answer:
B. He purchased a license with maintenance for a year.
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer how to perform a specific task and to solve a particular problem.
Basically, softwares are categorized into two (2) main categories and these are;
I. Open-source software.
II. Proprietary software.
A proprietary software is also known as a closed-source software and it can be defined as any software application or program that has its source code copyrighted and as such cannot be used, modified or distributed without authorization from the software developer. Thus, it is typically published as a commercial software that may be sold, licensed or leased by the software developer (vendor) to the end users with terms and conditions.
In this scenario, Wesley purchased a word-processing software program. He used it for a year, during which he got regular updates every two months. However, after a year, he was not allowed to update the software but he could continue using it.
This ultimately implies that, Wesley purchased a licensed software with maintenance for a year and as such he would stop receiving an update from the software developer after his subscription expired.
How can a user restore a message that was removed from the Deleted Items folder?
by dragging the item from Deleted Items to the Inbox
by dragging the item from Deleted Items to Restored Items
by clicking on "Recover items recently removed from this folder"
by clicking on the Restore button in the Navigation menu
Answer:
by clicking on "Recover items recently removed from this folder".
Answer:
c
Explanation:
1. Define Primary Key. Why do we need primary key ?
2. Define Field size.
3. Define Validation Rule.
4. . Not leaving the house and a lack of exercise can cause health problems like obesity. TRUE OR FALSE
5. Rebecca only works 3 days in a week but she works longer hours each day to ensure she hits the 40-hour work week.
-art-time working
-Compressed hours
-Job sharing
-Flexible hour
Answer:
1 .The main purpose of primary key is to identify the uniqueness of a row, where as unique key is to prevent the duplicates, following are the main difference between primary key and unique key.
Explanation:
2. Field size means the dimensions along the major axes of an area in a plane perpendicular to the central axis of the useful beam of incident radiation at the normal treatment distance and defined by the intersection of the major axes and the 50 percent isodose line.
Which wizard is a tool provided by Access that is used to scan the table's structure for duplicate?
O Query Design Wizard
O Table Design Wizard
O Table Analyzer Wizard
O Performance Analyzer Wizard
Answer:
The tool provided by access that’s used to scan the table’s structure for duplicate is “Table Analyzer Wizard”.
Which of the following statements is true for DMA: (only one correct answer) A. In DMA, Processor checks status until the operation is complete B. In DMA, Processor is interrupted when I/O module ready to execute data C. In DMA, no interrupt is produced D. In DMA, interrupt is sent when the task is completed E. None of the above
Answer:
D. In DMA, interrupt is sent when the task is completed
Explanation:
Note, the term Direct Memory Access simply refers to a computer feature that allows hardware subsystems to directly access the main system memory of a computer, without any the aid of the central processing unit (CPU).
It is a fact that while the transfer process is ongoing, an interrupt (interrupt signal) is not sent until when the task is completed.
please help
Consider the following code segment.
int a = 0;
int b = 3;
while ((b != 0) && ((a / b) >= 0)
{
a = a + 2;
b = b - 1;
}
What are the values of a and b after the while loop completes its execution?
a = 4, b = 1
a = 0, b = 3
a = 6, b = 0
a = 8, b = -1
Answer:
a = 6, b = 0
Explanation:
The loop ran 3 times before b == 0. The statement "while ((b != 0)" is essentially saying: 'While b is not equal to 0, do what's in my loop'. Same general thing with "&& ((a / b) >= 0)". The "&&" is specifying that there should be another loop condition. The final part of the while loop states: 'as long as a ÷ b is greater than 0, do what's in my loop'. If all of these conditions are met, the loop will run. It will continue to run until at least one of the conditions are not met.
Side note: I can't help but notice you posted the same question a while ago, so I just copied and pasted my previous response with some tweaking here and there. Hope this helps you! :)
How can you create the first row of the table as the header of the table?
In the Insert Table dialog box, you select the ______
checkbox to create the first row as the header of the table.
Answer:
table style option
Explanation:
Answer: table style
Explanation:
What element of art does this photograph show? A. shape B. space C. form D. tone E. line
I would for sure say form because it doesn't look like a flat surface, instead it looks 3-D, but If it is multiple choice then I say do C,D, and E.
Here is some advice tho, this question seems like an opinion question, soo, that means that you pick one that stands out to you and escribe why you think so in a descriptive way... if that is not the case then go ahead and use whatever i gave you. Just in case you may want to add a little more to the bolded answer I gave you, just to be professional, in case you do want to add more here is the defintion of form in case you need it
In addition to form, they include line, shape, value, color, texture, and space. As an Element of Art, form connotes something that is three-dimensional and encloses volume, having length, width, and height, versus shape, which is two-dimensional, or flat.
If this helps, I would like brainliest, when possible
a farmer cultivates 1/4 of his farm with ground nuts and 2/5 of it with maize what is the total landnarea that is cultivated
Answer:
13/20
egeringioerngierngineriogneirognoernogenroiernonoirenogneogneiong
function _one(array)
Create a JavaScript function that meets the following requirements:
•
•
•
•
Please give your function a descriptive name
o ( _one is not acceptable, and is only displayed here for illustration purposes)
Receives an array of integers as an argument
The function removes all duplicates (if they exist) from the array and returns it to the caller.
Assume the input array parameter will have at least one element in it.
Examples :
_one([33])
➔ [33]
_one([33, 33, 1, 4])
➔ [1, 4]
_one([33, 33, 1, 4, 1]) ➔ [4]
Answer:
function removeRepeaters(list){
var goodList = [], badList = {}, used = {}, n;
// ensure that the argument is indeed an array
if(!Array.isArray(list)){
throw "removeRepeaters: Expecting one argument of type Array";
}
// loop through the array and take note of any duplicates
for(n in list) used[list[n]] == true ? badList[list[n]] = true : used[list[n]] = true;
// now loop through again, and assemble a list of non-duplicates
for(n in list) if(badList[list[n]] == undefined) goodList[] = list[n];
return goodList;
}
Explanation:
I assume you're familiar with trinary operators, but just in case, that's what's happening in this first for loop:
for(n in list) used[list[n]] == true ? badList[list[n]] = true : used[list[n]] = true;
this is the same as saying:
for(n in list){
if(used[list[n]] == true){
badList[list[n]] = true;
} else {
used[list[n]] = true;
}
}
This loop flags all of the values in the list that are duplicated. Note that both "badList" and "used" are declared as objects instead of arrays. This allows us to compare keys in them with an == operator, even if they're not defined, making it a convenient way to flag things.
Note that I haven't tested it, so I may have overlooked something. I suggest testing it before handing it in.
Find the number of ways in which a committee of 4 can be chosen from six boys and
six girls if it must contain at least one boy and one girl.
Answer:
465 ways
Explanation:
Atleast 1 girl and 1 boy
Possible combinations :
1 girl ; 3 boys = 6C1 ; 6C3
2 girls ; 2 boys = 6C2 ; 6C2
3 girls ; 1 boy = 6C3 ; 6C1
(6C1 * 6C3) + (6C2 * 6C2) + (6C3 * 6C1)
Combination formula:
nCr = n! ÷ (n-r)!r!
We can also use a calculator :
6C1 = 6
6C3 = 20
6C2 = 15
Hence,
(6C1 * 6C3) + (6C2 * 6C2) + (6C3 * 6C1)
(6 * 20) + (15 * 15) + (20 * 6)
120 + 225 + 120
= 465 ways
See the picture and answer the coding question
Answer:
Actually I don't know computer so I can't help you sorry bro
yes how many poly pockets if I had 10 and gave 2 to esmeraldas father who died and left 1 to his cat, sir whisker?
Answer:
Total 13 poly packets are there
Explanation:
Total number of poly packets = 10
Number of poly packets given to esmeraldas father = 2
Number of poly packets left with his cat = 1
Total remaining poly packets = 10 + 2 + 1 = 10 + 3 = 13
PLEASE HELP IM STUCK!!!!!!!!!!!!!!!!!!!!! Which of the following terms is described as "the art and design of using text”?
O typography
O elements of design
O typos
O graphic design
Remember partially filled arrays where the number of elements stored in the array can be less than its capacity (the maximum number of elements allowed). We studied two different ways to represent partially filled arrays: 1) using an int variable for the numElems and 2) using a terminating value to indicate the end of elements called the sentinel value. In the code below, please fill in the details for reading values into the latter type of array that uses a sentilnel value. Don't forget to complete the printArray function.
#include
using namespace std;
void printArray(int array[]);
// Implement printArray as defined with one array parameter
int main()
{
const int CAPACITY=21;
int array[CAPACITY]; // store positive/negative int values, using 0 to indicate the end of partially filled array
cout <<"Enter up to " << CAPACITY-1 << " non-zero integers, enter 0 to end when you are done\n";
//To do: Write a loop to read up the int values and store them into array a.
// Stop reading if the user enters 0 or the array a is full.
//To do: store 0 to indicate the end of values in the array
//Display array function
printArray(array);
return 0;
}
// To do: implement display for the given array
void printArray(int array[])
{
}
Answer:
Complete the main method as follows:
int num;
cin>>num;
int i = 0;
while(num!=0){
array[i] = num;
cin>>num;
i++;
}
Complete the printArray function as follows:
void printArray(int array[]){
int i =0;
while(array[i]!=0){
cout<<array[i]<<" ";
i++;
}}
Explanation:
Main method
This declares a variable that gets input from the user
int num;
This gets input from the user
cin>>num;
This initializes a count variable to 0. It represents the index of the current array element
int i = 0;
while(num!=0){
This inserts the inputted number to the array
array[i] = num;
This gets another input
cin>>num;
The counter is incremented by 1
i++;
}
The above loop is repeated until the users enters 0
printArray method
This declares the array
void printArray(int array[]){
This initializes a counter variable to 0
int i =0;
This is repeated until array element is 0
while(array[i]!=0){
Print array element
cout<<array[i]<<" ";
Increase counter by 1
i++;
}}
See attachment for complete program
Can someone help me calculate this Multimedia math:
A monochrome sequence (black and white) uses a frame size of 176 x 144 pixels and has 8 bits/pixels. Registered with Frame Rate 10 frames/sec. Video is transmitted through a 64 Kbit/sec bandwidth line.
(a) Calculate Compression Ratio (Crude Bit Speed / Compressed Bit Speed) which will be needed.
(b) What will happen if the Ratio compression is higher than it in (a)?
(c) What will happen if the Ratio compression is lower than it in (a)?
Answer:
I will try to help you answer this. it seems really confusing but I'll do my best to solve it and get it back to you. Hope I'm able to help!
KAILANGAN ANG MASIDHI AT MALAWAKANG PAGBABASA NA SIYANG MAKAPAGBUBUKAS NG DAAN SA LAHAT NG KARUNUNGAN AT DISIPLINA TULAD NG AGHAM PANLIPUNAN, SYENSYA, MATEMATIKA, PILOSOPIYA, SINING ATN IBA PA.”
Answer:
Oo, tama ka!
Brainiliest?
You are asked to write a program that will display a letter that corresponds with a numeric rating system. The program should use a switch statement. The numeric rating is stored in a variable named rate and rate may equal 1, 2, 3, or 4. The corresponding letter is stored in a variable named grade and grade may be A, B, C, or D. Which is the test expression for this switch statement
The switch statements are similar to the if statements in a computer program
The test expression for the switch statement is the variable rate
How to determine the test expressionFrom the question, we have the following highlights
The program displays a corresponding letter of a rateThe rating is stored in the variable rateThis means that, the numerical value of the variable rate would be tested and the corresponding letter would be printed
Hence, the test expression for the switch statement is the variable rate
Read more about computer programs at:
https://brainly.com/question/16397886
Write a Python program that asks the user for their name and then prints the name out in all uppercase and then in all lowercase letters. The output should look like this:
What is your name? Maria
Your name in all uppercase letters is: MARIA
Your name in all lowercase letters is: maria
Answer:
name = input("What is your name? ")
print("Your name in all uppercase letters is " + name.upper()
print("Your name in all lowercase letters is " + name.lower()
Explanation:
The first line takes in the user input and stores it in the variable name.
The second line concatinates the string with the variable name. Then to turn the string name to upper case i used the .upper() in built python method. and did the same thing with the .lower()
Answer:
print("What is your name?")
string = "Your name in Uppercase letters:MARIA"
print(string.upper())
string = "Your name in lowercase letters"
print(string.llower())
Hoda is creating a report in Access using the Report Wizard. Which option is not available for adding fields using the wizard?
1. Tables
2. Queries
Reports
All are available options.
Answer:
Reports
Explanation:
Answer:
reports
Explanation:
Where should a photographer place lights for a headshot? Headshot lighting is more important with darker backgrounds. The light should be at a 45-degree angle from the subject. The light should be in front of the subject. The third light should be the subject to form a ring of light around the subject’s hair.
Answer:
Headshot lighting is more important with darker backgrounds. The
(key) light should be at a 45-degree angle from the subject. The
(fill) light should be in front of the subject. The third light should be
(behind) the subject to form a ring of light around the subject’s hair.
Explanation:
i searched it up individually and thats what i got