#dsa
Read more stories on Hashnode
Articles with this tag
#include<iostream> using namespace std; // Note: uncomment the code you want to use. // Power of a number: // int power(int a, int b){ // int...
#include <iostream> #include <math.h> using namespace std; int main(){ int num = 1330; int n; cout<<"Enter n for 100, 50, 20 or 1 Rs....
#include <iostream> #include <math.h> using namespace std; int main(){ int power, i=0, n; int ans = 0; cout<<"enter: "; ...
#include <iostream> using namespace std; int main(){ int n; cout<<"Enter: "; cin>>n; int m = n, mask = 0; if (n == 0){ cout<<1; ...
#include <iostream> #include <math.h> using namespace std; int main(){ //Binary to decimal: int n; cout<<"enter: "; cin>>n; int...
#include <iostream> #include <math.h> using namespace std; int main(){ // Decimal to binary: int n; cout<<"enter: "; cin>>n; int...