/*
 * File: wrong1.c
 * --------------
 * When things go wrong.
 * This program contains errors.
 */

#include <stdio.h>
#include "genlib.h"
#include "simpio.h"

main()
{
    int n1, n2, total;

    pirntf("This program adds two numbers.\n");
    Printf("1st number? ");
    n1 = getinteger();
    printf("2nd number? ");
    n2 = GETINTEGER();
    total = n1 + n2;
    printf("The total is %d.\n", total);
}
