Q. Write a C Program to find the number of three digit numbers greater than 100 in which digits appear in strictly increasing order. e.g. 123, 124, 125, 134, 135, 136, 145, 146, 147,….,689,789. (IIT-JAM-2011) Source Code: Output: Version/Compatibility: Turbo C++ Version 3.0 (Borland International, Inc.) Download Now (.Zip File – 36KB)…
Archive for the ‘C’ Category
Q.: Write C Program to Determine Whether given number is positive, negative or zero using if…else statement. We can check multiple conditions like three conditions using nested if else in C Programming. Source Code: Output: Version : Turbo C++ Version 3.0 (Borland International, Inc.) Download Now (.Zip File – 19KB)…
Q. Write C program to Print all the Numbers from 10 to 0 using while Loop. This C Program prints the numbers in descending order from 10 to 0. Here we have used while loop. We can also create same program using for loop also. Basic logic is totally dependent on initialization, test condition, decrements. Source Code: Output: Download [...]
Q.: Write C program to calculate the area of circle. In C Programming, It is always a program which says to calculate area of circle. We can get the area of circle using following formula. Area of Circle = pi * radius * radius where, pi=3.14. Source Code: Output: Download Now (.Zip File – 9 [...]
Q. Write C Program to check whether inputted character is vowel or not as well to check character is consonant or not. What is vowel? and What is Consonant? Vowels are : a, e, i, o, u Consonants are : Other characters like d, s, m, n Following program checks whether given alphabet is vowel [...]
Q. Write a C Program to count total number of vowels and consonants in a string. We have already studied that How to Check whether Character is Vowel or Consonant in C program What is Vowel ?: speech sound that is produced by comparatively open configuration of the vocal tract, with vibration of the vocal cords [...]
Q.: Write a C Program to check given number is Palindrome number or not. What is Palindrome Number? Palindrome number is a number which is when reversed then it is exactly same as that of original number. The following program is used to check number is a palindrome number or not Source Code: Output: Download [...]
Write C Program to check given number is armstrong number or not using power function Know more What is Armstrong Number? Header File Required: math.h Source Code: Output: Download Now (.Zip File)…
Q. Write a C Program to check given number is armstrong number or not What is Armstrong Number? – An Armstrong number is a number of three digits which is an integer such that sum of the cubes of its digits is equal to the number itself. For example, 153 is an Armstrong number, i.e = [...]

