#include using namespace std; int main(){ // 1. input ans output int n; cout<<"Enter a number : "; cin>>n; cout<<"\n Entered number is ---> "<