1. Difference between C++ and Java? 2. What is inner join , right outer join , left outer join. 3. If two tables are given Author and books , how many max and min records will you get if you apply inner join , right outer join , left outer join? 4. Which all browsers support PHP? 5. What is PHP? 6. If there are 3 coins, what is the possibility of getting the same output? 7. What if one of the coin is biased. Then probability of getting the same output? 8. Write a program to convert a binary number into a decimal no? 9. What do you know about cvent?
Anonymous
private static void ConvertBinaryToDecimal(int[] arr) { int length = arr.Length; int counter = length - 1; double decimalNum = 0; for (int i = 0; i < length; i++) { if (arr[i] == 1) { decimalNum = decimalNum + Math.Pow(2, counter); } counter--; } Console.WriteLine(decimalNum); }
Check out your Company Bowl for anonymous work chats.