Even or Odd?

There are many ways to determine wheter the number is odd or even. Here is two: 1. Check with modulus operator (%) The modulus operator returns the remainder when dividing two numbers. Even numbers doesn’t have a remainder, but Odd numbers have 1. 2. Check by bit operators Here is the code: 1. With modulus operator (%) ———————————- #include int main() { int number; printf(“Input integer\n”); scanf(“%d”,&number); if(number % 2 == 0) { printf(“Even\n”); } else { printf(“Odd\n”); } return 0; } ———————————- 2. Check by bit operator ———————————- #include

Continue readingEven or Odd?

Google Wave

http://wave.google.com Google Wave is an online tool for real-time communication and collaboration. A wave can be both a conversation and a document where people can discuss and work together using richly formatted text, photos, videos, maps, and more. What is a wave? A wave is equal parts conversation and document. People can communicate and work together with richly formatted text, photos, videos, maps, and more. A wave is shared. Any participant can reply anywhere in the message, edit the content and add participants at any point in the process. Then

Continue readingGoogle Wave