Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Class 11
→
Accounts in Class 11
→
Write a program in C++ to get factorial of a no us...
1.
Write a program in C++ to get factorial of a no using do while loop.
Answer» #include
void main(){ int a, fact=1;cout<<"enter a number";cin>>a;while(a>0){f=f*a;a--;}cout<<"factorial of "<
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
what is logic gates
How to learn cs
Find fade(16)
What is Assembler ,Compiler &Interpreter
Unsolved question answer for datahandling
Minimize the followingA+{A.{B.C}}
What is binary
From where I can download the pdf of the python book class 11 Sumita arora ?
I need last year question paper for periodic exams
What is chapter 5 based on?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies