Prime factors using stackI think my problem lies somehwere in : [code] if (xnum % i == 0) xPFac.push(i); [/code] Any suggest...
Prime factors using stackWrite a program that uses a stack to print the prime factors of a positive integer in descending ord...
mountain-shape of starsThis is what I have so far. [code] #include<iostream> #include <iostream> using namespace std; int m...
mountain-shape of starsHow to write a program that print out a mountain-shape of stars. For example, if use input a 10, you...
listFrom the list that i created. I'm trying to replace apple with banana and im trying to read the fift...