Hi Matsp,
Sorry if it sounded like I wanted you to do my work, I didn't mean it to.
Here is my code so far,
Code:
#include<stdio.h>
void main()
{
int CarAge, EngineSize, Convictions, Message;
printf("Please enter the age of the car ");
scanf("%i", &CarAge);
printf("Please enter the size of the engine ");
scanf("%i", &EngineSize);
printf("Please enter the any convictions ");
scanf("%i", &Convictions);
if (CarAge >= 15)
else
printf("No Loading");
if (EngineSize >= 2000)
else
printf("No Loading");
if (Convictions >= 3)
printf("policy loaded by 45%");
else if (Convictions < 3)
printf("policy loaded by 40%");
else
printf("No Loading");
}
Problem im having is what do I type into the 'if' part, so if the CarAge is valid, it will store it
and move onto the Engine Size, and then if the Engine Size is valid, it will store it and move it onto the Convictions. Then if conviction is valid it should print out the appropriate message.
Thanks for helping.