Factorial

  • Uploaded by: Muhammad Rana Farhan
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Factorial as PDF for free.

More details

  • Words: 54
  • Pages: 1
Intermediate Part II Problem: Make a program that calculate the Factorial. #include #include <stdio.h> void main() { clrscr(); int factorial=1,no; printf("Enter the no: "); scanf("%d",&no); for(int i=no;i>=1;i--) { factorial*=i; // factorial=factorial*i; } printf("\nFactorial of %d = %d",no,factorial); getch(); }

Click the link below to see more examples URL: http://ravianeducation.blogspot.com E-Mail: [email protected] Farhan: 03008855006

Related Documents

Factorial
June 2020 13
Factorial
October 2019 24
Funcion Factorial
April 2020 16
Million Factorial
May 2020 27
Analisis Factorial
June 2020 12
Factorial Designs
May 2020 34

More Documents from ""

Factorial
June 2020 13
Lecture 10
June 2020 19
Scientific Calculator
June 2020 8
Intermediate Part Ii
June 2020 9
Intermediate Part Ii
June 2020 6