I am trying to select a camera for the player to view from using the Input.GetKey function. The Input.GetKey is function is not reading the inputs. Please Help!

using UnityEngine;
using System.Collections;

public class camControl: MonoBehaviour {

// Use this for initialization
void Start () {
    Debug.Log("Using Camera One");
    camSwap(1);
}

// Update is called once per frame

void update()
{
    if (Input.GetKey("1"))
    {
        Debug.Log("Using Camera One");
        camSwap(1);
    }

    if (Input.GetKey("2"))
    {
        Debug.Log("Using Camera Two");
        camSwap(2);
    }

    if (Input.GetKey("3"))
    {
        Debug.Log("Using Camera Three");
        camSwap(3);
    }

    if (Input.GetKey("4"))
    {
        Debug.Log("Using Camera Four");
        camSwap(4);
    }

    if (Input.GetKey("5"))
    {
        Debug.Log("Using Camera Five");
        camSwap(5);
    }

}
void camSwap(int currentCam)
{
    GameObject[] cameras = GameObject.FindGameObjectsWithTag("cam");

    foreach (GameObject cams in cameras)
    {
        Camera theCam = cams.GetComponent<Camera>() as Camera;
        theCam.enabled = false;
    }

    string oneToUse = "Camera"+currentCam;
    Camera usedCam = GameObject.Find(oneToUse).GetComponent<Camera>() as Camera;
    usedCam.enabled = true;
}

}

please format ALL of your code.

your code isn’t working as expected because you’ve made the common mistake of using update() and not Update()