Assignment Day-7

 

 1. Write a C program to compute the sum of the numbers between 20 to 30 and divisible by 2 or 3.

2. Write a C program to check whether an input integer is power of two or not. As for example, 23 = 8.

3. Write a C program that can print the binary equivalent of a decimal integer. Here decimal integer is a user input.

4. Write a C program that can compare two input strings without using strcmp().

5. Write a C program that takes a string as input and then prints the number of occurrence(s) of each vowel of the English alphabets in the string.

6. Write a C program to check whether an input string is palindrome or not.

Comments

Popular Posts