HAM RADIO LINKS


Python tutorial
Open terminal window on mac
Use emacs to create file with .py extension
Type            python filename
It runs
Python Prog to sum series

# Python Program to find Sum of Arithmetic Progression Series

a = int(input("Please Enter First Number of an A.P Series: : "))
n = int(input("Please Enter the Total Numbers in this A.P Series: : "))
d = int(input("Please Enter the Common Difference : "))

total = (n * (2 * a + (n - 1) * d)) / 2
tn = a + (n - 1) * d

print("\nThe Sum of Arithmetic Progression Series = " , total)
print("The tn Term of Arithmetic Progression Series = " , tn)

***********************

C++ lessons (http://codepad.org/)
Notesfor the below:
#include allows subprograms like input/output to run
int main() 
#include 

using namespace std;

int main()
{
    int num1 = 10, num2 = 20, sum;
    
    sum = num1 + num2;
    cout << "Sum of Two Numbers " << num1 <<" and " << num2 << " = " << sum;
    
    return 0;
}