hi, could someone explain to me in non-tech speak these programs? I'm a novice and C is a bit harder than i thought...how do you write them?
1.an integer is said to be square free if its factors cannot be decomposed into other factors. write a program to print the 1st 10 square free integers starting from 16.
2.a perfect number is a number in which the sum of all the factors is equal to that number. write a program to print the first 4 perfect numbers starting from 6.
3. write a program to scan an integer value. determine if it is a pronic number - that is, a number which is the product of two consecutive integers.
thanks in advance, I really appreciate it..
1.an integer is said to be square free if its factors cannot be decomposed into other factors. write a program to print the 1st 10 square free integers starting from 16.
2.a perfect number is a number in which the sum of all the factors is equal to that number. write a program to print the first 4 perfect numbers starting from 6.
3. write a program to scan an integer value. determine if it is a pronic number - that is, a number which is the product of two consecutive integers.
thanks in advance, I really appreciate it..
Comment