Tutor profile: Alyssa L.
Questions
Subject: Computer Science (General)
Convert the following binary number to hexadecimal: 000110101000. Answer: 1A8
What is the index number of the first element of an array? Answer: 0
Subject: C++ Programming
Write a program to add 2 numbers input by the user together and print the answer to the screen. #include <iostream> using namespace std; int main { int a, b, sum = 0; //variables for the two numbers and the answer cout << "Please enter 2 numbers to calculate the sum of" << endl; cin >> a >> b >> endl; sum = a+b ; cout << "The sum of " << a << " and "<< b << "is: "<< sum << endl; return 0; }
What will i and j equal after the following operations? int i = 5; int j = 2; j = i++; i = --j; Answer: j = 6, i = 5
Subject: Algebra
3x+2-10+4x=2x-5. Solve for x. 1. 7x-8=2x-5 2. 5x=3 3. Answer: x=3/5
A=3mc+2d. Solve for d. 1. A-3mc=2d 2. Answer: (A-3mc)/2=d
Contact tutor
needs and Alyssa will reply soon.