05/20/19
Similiar Shapes
If a figure has dimensions of 2mm 5mm and 3mm is this figure a triangle?justify your answer
05/20/19
similiar shapes
on a map 1/4 inch represents 350 miles how long would a line on a map need to be in order to represent 3200 miles
05/20/19
STA 2023 Standard Deviation
Please help! I am so lost!1425 1125 1128 5433 2242 2283 135 1172 1337 1802 2446 1507 2308 3838 2480 1526 2449 2170...
more
05/20/19
How do I concatenate const/literal strings in C?
I'm working in C, and I have to concatenate a few things.Right now I have this: message = strcat("TEXT ", var); message2 = strcat(strcat("TEXT ", foo), strcat(" TEXT ", bar));Now if you have...
more
05/20/19
Why does printf not flush after the call unless a newline is in the format string?
Why does `printf` not flush after the call unless a newline is in the format string? Is this POSIX behavior? How might I have `printf` immediately flush every time?
05/20/19
Proof geometry flowchart proof
Flow chart proof- Given- XW= YZ XK> WK and KZ>KY Prove: angle XWZ> Angle YZWShape looks like a parallelogram but it’s not it is split in the middle like an X Like this kindaY. ...
more
05/20/19
Is an array name a pointer?
Is an array's name a pointer in C?If not, what is the difference between an array's name and a pointer variable?
05/19/19
Pointers in C: when to use the ampersand and the asterisk?
I'm just starting out with pointers, and I'm slightly confused. I know `&` means the address of a variable and that `*` can be used in front of a pointer variable to get the value of the object...
more
05/19/19
How to make a variadic macro (variable number of arguments)?
I want to write a macro in C that accepts any number of parameters, not a specific numberexample: #define macro( X ) something_complicated( whatever( X ) )where `X` is any number of parametersI...
more
Using the numbers 110, 3.142, 113 and 19 what would be the formula to get 18 without using 18 in the equation?
Using division and addition and 110/3.142 as the initial step and then including 19 and 113, what would be the additional calculations to obtain 18 as the final result? You ARE NOT ALLOWED to use...
more
05/19/19
Matrix, college
2. A concession stand at a city park sells hamburgers, hot dogs, and drinks. Three patrons buy the food and drink combinations denoted in the following table. Patron 1 spends $11, patron 2 pays $5...
more
05/19/19
Pipe and cistern
15 pipes each having the same diameter can fill a cistern in 12 minutes.How Long will it take for 6 pipes,each with double the original diameter,to fill the same cistern at the same speed of the flow?
more
05/19/19
Why does the arrow (->) operator in C exist?
The dot (`.`) operator is used to access a member of a struct, while the arrow operator (`->`) in C is used to access a member of a struct which is referenced by the pointer in question.The...
more
Prove the triangle sum theory
Triangle Sum Theorem: The three angle measures of a triangle add to 180°. Goal: To prove m∠1 + m∠2 + m∠3 = 180°
05/19/19
Please help me wit this math question.
compared to the graph of f(x)= X^2, the graph of g(x)=(x-2)^2+3 is the result of translating f(x)... a).2 units up and 3 units rightsb).2 units down and 3 units upc).2 units right and 3 units...
more
05/19/19
How to define an enumerated type (enum) in C?
I'm not sure what is the proper syntax for using C enums. I have the following code: enum {RANDOM, IMMEDIATE, SEARCH} strategy; strategy = IMMEDIATE;But this does not compile, with the...
more
05/18/19
How can I reverse the order of lines in a file?
I'd like to reverse the order of lines in a text file (or stdin), preserving the contents of each line.
So, i.e., starting with:
foo
bar
baz
I'd like to end up with
baz
bar
foo
Is there...
more
math problems help me
At 5:00 am, here's what we know about two airplanes: Airplane #1 has an elevation of 33260 ft and is descending at the rate of 800 ft/min. Airplane #2 has an elevation of 1580 ft and is climbing at...
more
05/18/19
Forward an invocation of a variadic function in C?
In C, is it possible to forward the invocation of a variadic function? As in, int my_printf(char *fmt, ...) { fprintf(stderr, "Calling printf with fmt %s", fmt); return...
more
05/18/19
How do I use extern to share variables between source files?
I know that global variables in C sometimes have the `extern` keyword. What is an `extern` variable? What is the declaration like? What is its scope?This is related to sharing variables across...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.