Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

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 & Filtering

  1. In the code editor, you are provided with a main() function that asks the user for an integer and passes the address of this integer to a function call of the simple() function.
  2. This simple() function hasn't been implemented yet so your task is just that, to implement it. This has the following description:
  3. Return type - void
  4. Name - simple
  5. Parameter - address of an integer
  6. Description - prints a line of asterisks
  7. DO NOT EDIT THE MAIN FUNCTION

Input


1. An integer

Output


Enter·n:·5
*****

#include <iostream>

using namespace std;


int main(void) {

  int n;


  cout << "Enter n: ";

  cin >> n;


  simple(&n);

  

 cout << n;


  return 0;

}


  1. In the code editor, you are provided with a main() function that asks the user for 2 integers. Then, a function call to a function named, exchangeGift() is made and the addresses of the 2 integers are passed.
  2. This exchangeGift() function hasn't been implemented yet so this is your task. This has the following description:
  3. Return type - void
  4. Name - exchangeGift
  5. Parameters - 2 addresses of 2 integers
  6. Description - swaps the value of the 2 integers and then adds 100 to the 2nd integer (or 2nd parameter)
  7. DO NOT EDIT THE MAIN

Input


1. First integer

2. Second integer

Output


Enter·integer·1:·10
Enter·integer·2:·20
20·110

#include <iostream>

using namespace std;


int main(void) {

  int a, b;


  cout << "Enter integer 1: ";

  cin >> a;


  cout << "Enter integer 2: ";

  cin >> b;


  exchangeGift(&a, &b);


  cout << a << " " << b;


  return 0;

}


Instructions:

  1. In the code editor, you are provided with an initial code where a constant variable is declared.
  2. Your only task is to assign the address of this variable to the first pointer found at line 10.

Output


My·destiny·=·11



#include <iostream>

using namespace std;


int main(void) {

  int destiny = 22;


  int *ptr1, *ptr2, *ptr3;


  // TODOFill in the blank

  ptr1 = ;

  ptr2 = ptr1;

  ptr3 = ptr2;


  cout << "My destiny = " << *ptr3;


  return 0;

}





A blood sample contains 0.040 g glucose (C6H12O6) per 100.0 mL. What is the molarity of glucose in this sample?



Performance Task #5: Saving Chemistry

Below is the enhanced text of chemistry set problems gathered from the notes of Antoine Laurent Lavoisier during the accident. Please do your best to help by answering the problems and showing your solutions.

I- Part : Concept of Mole

1.      A chemist has a jar containing 388.2 g of iron filings. How many moles of iron does the jar contain?

2.      A student needs 0.366 mol of zinc for a reaction. What mass of zinc in grams should the student obtain?

3.      Calculate the mass of aluminum that would have the same number of atoms as 6.35 g of cadmium.

4.      The weight of a diamond is given in carats. One carat is equivalent to 200. mg. A pure diamond is made up entirely of carbon atoms. How many carbon atoms make up a 1.00 carat diamond?

5.      Precious metals are commonly measured in troy ounces. A troy ounce is equivalent to 31.1 g. How many moles are in a troy ounce of gold? How many moles are in a troy ounce of platinum? of silver?


Create an assembly program that would check if the input character is a numeric character. alphabet (letter) or a special character.



HINT: Each character has a corresponding decimal and hex values in the ASC table. Use ASCII table.

Are multiple chromosomes prokaryotic or eukaryotic


-write a program using for loop - show numbers from(1,150)increased by 3 only print odd numbers


A printer manufacturing company claims that it's new ink-efficient printer can print an average of 1500 pages of word documents with standard deviation of 60. Thirty-five of these printers showed a mean of 1475 pages. Does this support the company's claim? Use 95% confidence level.

LATEST TUTORIALS
APPROVED BY CLIENTS