Recent content by stevenviney

  1. S

    Creating a Table for n, sqrt n and ln n from 0 to nmax

    hmm.. no i do need an array becaue i need to list all the values from 0 - n so i assumed it would needed to be displayed in table form?
  2. S

    Creating a Table for n, sqrt n and ln n from 0 to nmax

    i need to write a program that sets up a table displaying values of n, sqrt n and ln n from n = 0 - nmax. I've prompted the user to enter a value for integer nmax. but then I've no idea how to make this apply for the value for nmax for my table. this is what i have so far //Problem...
  3. S

    C/C++ How to Calculate Factorial and Apply Stirling's Approximation in C++?

    I need to write a program that prompts me to enter a positive integer N, after doing so it calculates the factorial of that integer and prints it. I am able to do this with the following code. #include <iostream> using namespace std; int main() { double I, N, Factorial = 1; // Do not...
Back
Top