factorial using while loop

Using function, write a complete program that prints your name 10 times. The Function can take no arguments and should not return any value

Using function, write program that prints your name 10 times. The Function can take no arguments and should not return any value

Using function, write a complete program that prints your name 10 times Object: Using function, write a complete program that prints your name 10 times. The Function can take no arguments and should not return any value. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void nam(); void main() { …

Using function, write program that prints your name 10 times. The Function can take no arguments and should not return any value Read More »

Write a program to calculate the factorial of any number using do while loop

Write a program to calculate the factorial of any number using do while loop

Program to calculate the factorial using do while loop Object: Write a program to calculate the factorial of any number using do while loop. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void main() { int i=1,no,fact=1; cout<<” Enter Any Number: “; cin>>no; do { fact=fact*i; i++; }while(i<=no); cout<<“\n Factorial …

Write a program to calculate the factorial of any number using do while loop Read More »