Skip to content

CPP program for factorial

  1. Home>
  2. CPP program for factorial

CPP Program For Factorial

  • Post author:admin
  • Post published:August 8, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

#include<iostream.h> #include<conio.h> void main() { clrscr(); long a,b,c=1; cout << "enter any number" << endl; cin >>a; for(int i=1;i<=a;i++) { c=c*i; } cout << c << endl; getch(); } Output:…

Continue ReadingCPP Program For Factorial

Recent Posts

  • Hello world!
  • How to publish the first blog post | Get Indexed | Google
  • 8 Ways to make money through blogging|Passive Income
  • Build a strong blogging brand | Best tips for blogging
  • Add Facebook page plugin to the blog

Recent Comments

  1. A WordPress Commenter on Hello world!
Copyright [oceanwp_date] - Design by Unique Ratlam Ajanta Talkies Road

WhatsApp us