I need a Program In C or either Pascal, including 2 conditions of (if-else) + loops (fixed and non fixed both) in Modular Programing Perspective?
what i tried as i dont know c very well but some how what i did is
#include <stdio.h>
int salary,check1,check2,tax=250,medical=500;
main( );
{
Information( );
Check_Salary( );
Results ( );
}
Information( );
{ printf("enter your salary:);
scanf("%d",&salary);
}
Check_Salary( );
{
if(salary<1000)
if(salary>1000)
// from here i dont know how to proceed coz i have to use one fixed loop (for loop) and one non fixed loop ( do while )
Note: its not neccessary to have or create the same program i tried. you can create any program under modular programing perspective with 2 conditions and and both fixed and non fixed loops