摘要: // without Recursion #include <iostream> using namespace std; int main() { int n1=0,n2=1,n3,i,number; cout<<"Enter the number of elements: "; cin>>num 阅读全文
posted @ 2019-05-17 14:40 Poission 阅读(121) 评论(0) 推荐(0) 编辑
摘要: // using Loop #include <iostream>using namespace std;int main(){ int i,fact=1,number; cout<<"Enter any Number: "; cin>>number; // for(i=1;i<=number;i+ 阅读全文
posted @ 2019-05-17 14:27 Poission 阅读(133) 评论(0) 推荐(0) 编辑