Please provide more detail on the question. I'm not sure what's going on with the .,.,.. in the middle of the question, so please explain that. Furthermore, you must show effort (ie. your current code), before we will help.
I have to build the working code for program in c++. If I have a natural number m and natural number n=2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16. My program should print the number m in counting system ( binary system, decimal system, hexadecimal system, octal system and in other not named systems, which have base like 3, 5, 6...etc.) with that base n.
In order to solve a problem successfully, you must first understand what it is.
One way to test your understanding is to solve a simple version of it by hand, without using a computer.
So... m = 13, n = 241. In other words, what is the base-13 representation of 241?
I'm going to guess that your answer will be "I don't know." If that's true, no code that anyone writes will help you, because the best you can hope for is a solution to a problem that you still don't understand, and from which you will therefore learn nothing.
You are required to write a program which will take input from user in two integer arrays. The program should compare both arrays for checking if both arrays are totally identical (Exactly same). If not, then program should determine the matching indexes of both arrays. Matching indexes means that first element of array1 should be equal to first element of array2 and so on.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...