Hi. I have to write a program for my intro to c class that will ask the following ...
What role are you (1=student 2=staff 3=faculty)
What type of car tag do you want (1=sticker 2=hangtag)
And will end with you need to pay ___ for your parking permit.
So far I've done the following and am not stuck. Any pointers?
Code:
#include <stdio.h>
# define STUDENT_STICKER 100.00
# define STUDENT_HANG 150.00
# define STAFF_STICKER 200.00
# define STAFF_HANG 300.00
# define FACULTY_STICKER 300.00
# define FACULTY_HANG 450.00
int main (void) {
int STUDENT_STICKER, STUDENT_HANG, STAFF_STICKER, STAFF_HANG, FACULTY_STICKER, FACULTY_HANG ;
printf ("What role are you? 1=student 2=staff 3=faculty \n");
scanf ("%d", );
printf ("What type of tag do you want? 1=sticker 2=hang tag");
scanf("%d", );
system("PAUSE");
return 0;
}