In addition you may select all the code and use the formatting tool of the IDE to bring it into shape.
This can be done by using the context menu of the IDE and selecting Convert to => Formated C code, example output below.
Using a code box by hitting the #-button in the message editor helps for a better display in the forum too.
For the best help you can get, attach a source code package of your project, which you can get through the menu item Project => ZIP files.
This way we all have the same environment to reproduce your error messages.
#include <stdio.h>
#include <math.h>
#define PI 3.14159
/*This program will display an options menu which will allow the user to choose from various resistor properties*/
int main(void)
{
int number;
double par_resistance, sum;
sum = 0.0;
printf("1 Calculate Series Resistance\n\n2 Calculate Parallel Resistance\n\n3 Calculate User-Needed Resistor With Given Resistance\n\n4 Rectangular and Polar Form of Series RC Circuit\n\n5 Rectangular and Polar Form of Series RL Circuit\n\n6 Convert From Rectangular to Polar\n\n7 Convert From Polar to Rectangular\n\n8 Calculate Cut-Off Frequency of RC Circuit\n\n\n\n\n\n");
printf("Please Enter Number Choice...\n\n\n");
scanf("%d", &number);
switch (number)
{
case 1:
printf("Welcome to: Calculating Series Resistance\n\n\n\n");
break;
case 2:
printf("Welcome to: Calculating Parallel Resistance\n\n\n\n");
printf("\n\nEnter values one at a time..Enter -11 to quit:\n\n");
scanf("%lf", &par_resistance);
while (par_resistance > 0.0)
{
sum = sum + (1.0 / par_resistance);
printf("_", &par_resistance);
scanf("%lf", &par_resistance);
sum = 1.0 / sum;
}
printf("\n\nThe total parallel resistance is....%f\n\n", &sum);
break;
case 3:
printf("Welcome to: Calculating User-Needed Resistor\n\n\n\n");
break;
case 4:
printf("Welcome to: Rectangular and Polar Form of Series RC Circuit\n\n\n\n");
break;
case 5:
printf("Welcome to: Rectangular and Polar Form of Series RL Citcuit\n\n\n\n");
break;
case 6:
printf("Welcome to: Converting from Rectangular to Polar Form\n\n\n\n");
break;
case 7:
printf("Welcome to: Converting from Polar to Rectangular Form\n\n\n\n");
break;
case 8:
printf("Welcome to: Callculating Cut-Off Frequency of RC Circuit\n\n\n\n");
break;
}
return (0);
}