Blog : Online Interview Questions

C Program Examples
C Program to Find the Area of Trapezium
C Program to Find the Area of Trapezium

This program first takes length of parallel sides and height as input form user using scanf function and stores it in three floating point variables. Then it calculates the area of trapezium using the formula given above. Then, it prints the area of trapezoid on screen using printf function.

Blog
Kotlin Vs Flutter. What is difference?
Kotlin Vs Flutter. What is difference?

Developers explain Flutter as a "Cross-platform mobile framework from Google". Flutter is a mobile application SDK to help developers and designers make modern mobile apps for iOS and Android. On the other hand, Kotlin is describing as "Statically typed Programming Language targeting JVM and JavaScript". Kotlin is a statically typed programming language for the JVM, Android and the internet, 100% interoperable with Java.

C Program Examples
C program to reverse an Integer number
C program to reverse an Integer number

Are you want a demonstration of The C Program that reverses an Integer number? This Program reversing the sequence of digits in an Integer. After the successful compilation of the program, a message is displayed on the screen as Please! Enter a string that you want to reverse: Suppose, User, entered 11001 then again a message is displayed as The Equivalent Reversed Number is 10011. The internal execution of the program depends upon the previous demonstration of Reverse an Integer number.

C Program Examples
C program to find area of triangle
C program to find area of triangle

In this Program, User will enter the three sides of the triangle a, b, c. Then, Calculating the Perimeter of the Triangle. Moreover, calculating the semi perimeter using the formula (a + b + c) / 2 and calculating the Area of a triangle using Heron’s Formula: sqrt(s * (s - a) * (s - b) * (s - c)). After the successful execution of the program the final area of a triangle is shown on screen.

C Program Examples
C program to generate multiplication table
C program to generate multiplication table

After the successful compilation of the program, In this program, we used two variables num, and i. The variable num is used to store the input integer number and the variable ‘i’ is used to iterate the loop. Product of the number is given by num*i;

C Program Examples
C program for matrix addition
C program for matrix addition

This Program shows matrix addition through the addition of corresponding elements of the matrices.

C Program Examples
C Program to Count Number of Digits in an Integer
C Program to Count Number of Digits in an Integer

The internal execution of the program depends upon the entered Integer.After the successful compilation of the program, a message is displayed on the screen as Enter a number in whose digits you want to count.If you entered 436 then again a message displayed as The number of digits in above integer is : 3

C Program Examples
C program to get square root of a number
C program to get square root of a number

Number is an arithmetical value, expressed by a word, symbol, or figure, representing a particular quantity and used in counting and making calculations. This program allows the user to enter any number and then finds the square root of that number using math function sqrt () This program uses the math function findSQRT(int number) to find the square root of a number. As we all know √number = number½.

SEO Tutorials
6 Ways to approve your DoFollow comments
6 Ways to approve your DoFollow comments

It is a well-known method that is used every day by many blogs. The speech here is from DoFollow's backlinks via blog comments. However, many blog networks such as Blogspot, WordPress, Typepad, etc., only leave nofollow comments because many have to stick to the Google webmaster rules of nofollow. However, there are some bloggers who are making the effort to use special plugins or applications to remove the evil rel = "nofollow" tag from their default blog platform. Many want to increase their blog traffic.

C Program Examples
C Program to Find ASCII Value of a Character
C Program to Find ASCII Value of a Character

This program evaluates The ASCII value of inserted character. In this program, the user is asked to enter 'A' character. The character is stored in variable a. When %d format string is used, 65 (the ASCII value of G) is displayed. When %c format string is used, 'A' itself is displayed.

C Program Examples
C Program to Check number is Odd or Even
C Program to Check number is Odd or Even

In this program, User Enter a number and check whether the given number is even or odd. Then, after successful compilation displays to check it is Odd or Even on the screen. The output of this Program is given below:Enter any number to check it is even or odd: 4153 is Even.Enter any number to check it is even or odd: 33 is Odd.

C Program Examples
C Program to Calculate Simple Interest
C Program to Calculate Simple Interest

This C program allows the user to enter the Principal Amount, Rate of Interest, and the Number of years. By using those values, this C Program will calculate the Simple Interest using following formula: Simple Interest = (Principal Amount * Rate of Interest * Number of years) / 100.

C Program Examples
C program to reverse any number by using function
C program to reverse any number by using function

This Program reversed any number such as Integer, float, or decimal in their equivalent. After the successful compilation of the program, a message is displayed on the screen as Please! Enter a string that you want to reverse: Suppose, User, entered 11001 then again a message is displayed as The Equivalent Reversed Number is 10011. Read more...

C Program Examples
C program to convert celsius to fahrenheit
C program to convert celsius to fahrenheit

To get the output of the this Program, User will Enter temperature in Celsius: 100 Then, Compiler will convert it into Fahrenheit automatically. The final output shown onto the screen is as follows: Enter temperature in Celsius: 100 100 Celsius = 212.00 Fahrenheit

C Program Examples
C Program to Check Whether a Character is Vowel or Consonant
C Program to Check Whether a Character is Vowel or Consonant

In this Program, the if…else statement is used to check whether an alphabet entered by the user is a vowel or a constant. The five letters A, E, I, O and U are called vowels. All other letters except these 5 vowel letters are called consonants. This program assumes that the user will always enter an alphabetic character.

Write For Us.

Contribute the Community.