Homework Answers

Math 50414
Physics 44332
Chemistry 40988
Economics 30643
Programming & Computer Science 26876
Biology 8109
Engineering 6056

Questions answered by Experts: 207 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

 Integer Pairing

by CodeChum Admin

Now this one's a tad bit tricky, but you can definitely do it!


Instructions:

  1. Input five integers in one line, with each integer separated by a space.
  2. Add the 1st and 2nd integers together, store the sum inside a variable.
  3. Add the 3rd and 4th integers together, store the sum inside a variable.
  4. Multiply the two sums with each other and raise the product to the power of the 5th integer
  5. Print out the result.

Input

A line containing five integers separated by a space.

1·2·3·4·5

Output

A line containing an integer.

4084101

Input Combination

by CodeChum Admin

We've tried adding together integers, now how about strings?


Instructions:

  1. Input two strings in one line, separated by a space.
  2. Concatenate the two strings and print out the result.

Input

A line containing two strings separated by a space.

hello·world

Output

A line containing the concatenated string with no spaces.

helloworld




Question No.1 Implement this program by using User-defined functions and Structures.


Write a program that reads students’ names followed by their test scores. The program should output each student’s name followed by the test scores and the relevant grade. It should also find and print the highest test score and the name of the students having the highest test score. Student data should be stored in a struct variable of type studentType, which has four components: studentFName and studentLName of type string, testScore of type int (testScore is between 0 and 100), and grade of type char. Suppose that the class has 20 students. Use an array of 20 components of type studentType. Your program must contain at least the following functions:



1. A function to read the students’ data into the array.

2. A function to assign the relevant grade to each student.

3. A function to find the highest test score.

4. A function to print the names of the students having the highest test score.


Describe some of the trade-offs faced by A recent college undergraduate deciding whether to go to graduate school



A load of mass 120kg is raise vertically through a high of 2m in 30s by a machine whose efficiency is 100% calculate power generated by the machine

Suppose that the relative affinities of the three OR regulatory sequences and the three OL regulatory sequences for the λ repressor were reversed and that OR3 and OL3 have the greatest affinity for the repressor. What would be the likely effect on the mechanism of infection by λ? 


even or odd . write a program to check if the given number is even or odd


Calculate the GDP using EXPENDITURE APPROACH with the following hypothetical data:

Personal Consumption

3657

Depreciation

400

Wages

3254

Indirect Business Taxes

500

Interest

530

Domestic Investment

741

Government Expenditure

1098

Rental Income

17

Corporate Profits

744

Exports

673

Imports

704

Net Factor Payment

20









Consider the following data in Billions of dollars:

GDP 7500

Investment 1300

Transfer Payment 1050

Government Expenditures 1200

Exports 1050

Imports 950

Net Factor Payment 20






a) Use the above data to calculate the consumption.

b) Whether the economy has trade deficit or trade surplus? Why?


The N in a 0.4984-g sample of organic material is converted to NH4HSO4 by digestion with concentrated H2SO4. If the NH4+ ions are precipitated as (NH4)2PtCl6 and the precipitate is ignited to Pt, what is the percentage of N in the sample if the Pt weighs 0.1876 g?

 



LATEST TUTORIALS
APPROVED BY CLIENTS