Banner Header

Showing posts with label c-programming codes. Show all posts
Showing posts with label c-programming codes. Show all posts
Thursday, 12 July 2018
C Program to Calculate the Power of a Number Reviewed by Waqas Ahmed Mir PC on July 12, 2018 Rating: 5 C Program to Calculate the Power of a Number Example on how to calculate the power of a number if the exponent is an integer. Also, you w...
Thursday, 7 September 2017
C Program to Make a Simple Calculator Using switch...case Reviewed by Waqas Ahmed Mir PC on September 07, 2017 Rating: 5 C Program to Make a Simple Calculator Using switch...case Example to create a simple calculator to add, subtract, multiply and divide usi...
C Program to Convert Binary Number to Decimal Reviewed by Waqas Ahmed Mir PC on September 07, 2017 Rating: 5 C Program to Convert Binary Number to Decimal In this example, you will learn to convert binary number to decimal and decimal number to bina...
C Program to Calculate Percentage of Marks Reviewed by Waqas Ahmed Mir PC on September 07, 2017 Rating: 5 C Program to Calculate Percentage of Marks Example to calculate the Percentage of the student Marks. In this example we take input from user...
C Program to Print All Prime Numbers between 1 to N Reviewed by Waqas Ahmed Mir PC on September 07, 2017 Rating: 5 C Program to Print All Prime Numbers between 1 to N A  Prime number  is a natural number greater than 1 that is only divisible by either 1 o...
C Program to Calculate the Sum of Natural Numbers Reviewed by Waqas Ahmed Mir PC on September 07, 2017 Rating: 5 C Program to Calculate the Sum of Natural Numbers To compute the sum of natural numbers from 1 to n (entered by the user), loops can be used...
Tuesday, 5 September 2017
C Program To Print the Table of any Number Reviewed by Waqas Ahmed Mir PC on September 05, 2017 Rating: 5 C Program to Generate Multiplication Table. Example to generate the multiplication table of a number (entered by the user) using for loop. T...
Saturday, 2 September 2017
C Program to Find Factorial of a Positive Negative and 0 Number Reviewed by Waqas Ahmed Mir PC on September 02, 2017 Rating: 5 C Program to Find Factorial of a Any Number The factorial of a any integer n is equal to 1*2*3*...n. You will learn to calculate the factori...
C Program to Calculate the Sum of Natural Numbers Reviewed by Waqas Ahmed Mir PC on September 02, 2017 Rating: 5 C Program to Calculate the Sum of Natural Numbers To compute the sum of natural numbers from 1 to n (entered by the user), loops can be used...
C Program to Find Factorial of a Number The factorial of a positive integer. Reviewed by Waqas Ahmed Mir PC on September 02, 2017 Rating: 5 C Program to Find Factorial of a Positive Number The factorial of a positive integer n is equal to 1*2*3*...n. You will learn to calculate t...
C Program to Check Whether a Number is Even or Odd Reviewed by Waqas Ahmed Mir PC on September 02, 2017 Rating: 5 C Program to Check Whether a Number is Even or Odd In this example, if...else statement is used to check whether a number entered by the use...
C Program to Check Whether a Number is Positive or Negative Reviewed by Waqas Ahmed Mir PC on September 02, 2017 Rating: 5 C Program to Check Whether a Number is Positive or Negative In this example, you will learn to check whether a number (entered by the user) ...
Wednesday, 30 August 2017
C Program Division Of Two Number Reviewed by Waqas Ahmed Mir PC on August 30, 2017 Rating: 5 C Program to Div Two Numbers In this program, user is asked to enter two integers. Then, the Div of those two integers is stored in a variab...