C program to prompt user with option on menu at Post Office

160
514
#include<stdio.h>
#include<conio.h>
struct speed;
{
int rate;
float weight;
float distance;
};
void main()
{
struct speed sp;
printf("\n enter distance");
scanf("%f",&sp.distance);

printf("\n enter weight");
scanf("%f",&sp.weight);

if(sp.distance <=40 && sp.weight<=100)
{
printf("\n you have charged 20 rupees");
}
elseif(sp.distance<=40 && sp.weight>=100 && sp.weight<=100)
{
printf("\n rate si 40 rupees");
}
elseif(sp.distance>=41 && sp.distance<=100 && sp.weight>=200 && sp.weight<500)
{
printf("\n rate is 70");
}
else
{
printf("\n rate is 100");
}
getch();
}

160 COMMENTS

  1. [url=https://over-the-counter-drug.com/#]over the counter pink eye medicine[/url] over the counter nausea medicine for pregnancy

  2. [url=https://over-the-counter-drug.com/#]over the counter anxiety meds[/url] over the counter cold sore medicine

  3. [url=https://over-the-counter-drug.com/#]over the counter nausea medicine for pregnancy[/url] bv treatment over the counter

  4. [url=https://over-the-counter-drug.com/#]over the counter allergy medicine[/url] over the counter inhalers

  5. Cautions. Definitive journal of drugs and therapeutics.
    [url=https://stromectolst.com/#]buy stromectol uk[/url]
    Some are medicines that help people when doctors prescribe. earch our drug database.

  6. Generic Name. Best and news about drug.
    [url=https://stromectolst.com/#]ivermectin pills human[/url]
    Some are medicines that help people when doctors prescribe. Medscape Drugs & Diseases.

  7. Prescription Drug Information, Interactions & Side. What side effects can this medication cause?
    [url=https://stromectolst.com/#]ivermectin for humans[/url]
    Long-Term Effects. Comprehensive side effect and adverse reaction information.

  8. All trends of medicament. Read here.
    [url=https://stromectolst.com/#]stromectol price us[/url]
    Prescription Drug Information, Interactions & Side. Medicament prescribing information.

  9. All trends of medicament. Read information now.
    [url=https://stromectolst.com/#]ivermectin cream cost[/url]
    Prescription Drug Information, Interactions & Side. Read now.

  10. Comprehensive side effect and adverse reaction information. Commonly Used Drugs Charts.
    ivermectin brand
    Definitive journal of drugs and therapeutics. What side effects can this medication cause?

  11. Everything information about medication. Read here.
    [url=https://stromectolst.com/#]stromectol usa[/url]
    Cautions. All trends of medicament.

  12. Cautions. Top 100 Searched Drugs.
    [url=https://stromectolst.com/#]ivermectin generic[/url]
    п»їMedicament prescribing information. Get warning information here.

  13. Some trends of drugs. Commonly Used Drugs Charts.
    [url=https://stromectolst.com/#]ivermectin cream 1%[/url]
    earch our drug database. Actual trends of drug.

  14. All trends of medicament. Get warning information here.
    [url=https://stromectolst.com/#]cost of ivermectin pill[/url]
    Read now. Generic Name.

  15. Get information now. Commonly Used Drugs Charts.
    [url=https://lisinopril.science/#]lisinopril 80[/url]
    Get information now. Read here.

  16. Comprehensive side effect and adverse reaction information. Cautions.
    [url=https://mobic.store/#]cost cheap mobic pills[/url]
    Prescription Drug Information, Interactions & Side. All trends of medicament.

LEAVE A REPLY

Please enter your comment!
Please enter your name here