C++ program

ty so much.
I need help writing this program in C++. Thanks so much for your
help in advance
Function 1:
Write a function that accepts an integer argument and returns
the sum of all the integers from 1 up to the number passed as an
argument. For example, if 50 is passed as an argument, the function
will return the sum of 1, 2, 3, 4, ... 50. Use recursion to
calculate the sum. Demonstrate the function in a
program.
A sample...
please answer both questions ty so much
Two forces are acting on a 0.250 kg hockey puck as it slides along the ice. The first force has a magnitude of 0.400 N and points 35.0 north of east. The second force has a magnitude of 0.580 N and points 65,0° north of east. If these are the only two forces acting on the puck, what will be the magnitude and direction of the puck's acceleration? Enter the direction as an...
The answer should be t or not. Thank you so much!
If the tax a family pays is a function of its income y given by T(y), then T'(y) is called the marginal tax rate. Characterize the following tax function by determining its marginal rate: T(y) = ty (t is a constant number in (0, 1))
I need help to find out the MATLAB code to solve this equation.
Thanks
By using MATLAB program, Find the Gradient of Vi = 24Vocos(Ty/3) sin (2T1/3)
By using MATLAB program, Find the Gradient of Vi = 24Vocos(Ty/3) sin (2T1/3)
I need a C++ program like this please! and please follow all instructions! Thanks so much! A menu-driven program with 3 choices: Names Rearranger, Number Validator, or Exit Menu Option 1: Name Rearranger: 1. Input ONE STRING from the user containing first name, middle name, and last name. ie, "John Allen Smith". USE THE GETLINE function. (Not cin) 2. Loop through the string and validate for a-z or A-Z or . If the name has any other characters, then ask...
NEED SOME HELP WRITING THIS C++ PROGRAM...so far I wrote this program for (r-1; r <-5; r++) output for (r = 1; r<= 5; r++) output NEED HELP WITH THIS PATTERN:
Hi, anyone can help me? thank you so much
Step 7K: Create a Program Create a small program to turn on and off the conveyor utilizing buttons/tags on the HMI, not the hardwired switch Remember you SHOULD NEVER energize an "Input" data file bit, or use it as an internal relay. You will be utilizing your "binary" data file to create internal relays Use two buttons, 1 for start, 1 for stop Latching of the operation is required, but not...
write program in C that print the continuous sub strings of a given string so if the user enter "ABC" the output should be "A, B, C, AB, BC"
Please help with program this. Thank you so much in advance!
Create a Java program which implements a simple stack machine. The machine has 6 instructions Push operand Puts a value on the stack. The operand is either a floating point literal or one of 10 memory locations designated MO M9 Pop operand Pops the value on the top of the stack and moves it to the memory location MO-M9 Add Pops the top two values off the stack, performs...
c++ : Complete the following program so that it reads an integer. // If the input is a digit 0-9, display out the name of the digit, // and the word UNKNOWN for all other values. #include <iostream> using namespace std; int main() { int a, b, c, d, max; cout << endl; return 0; // DO NOT DELETE. }