Hexadecimal & RGB
Between Hexadecimal & RGB, which is more preferable?
I prefer hex. But it depends on which is to your liking.
I prefer hex cause it's shorter but neither of them have an advantage over the other one
They are based on the same logic. The hexadecimal values[when taken 2 at a time] gives 255 combinations. The same is with rgb, where we use usual numbers.
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?