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;
}
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:
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?
Less than z = -2.33, P(z<2.33)
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.