SourceCode for Woman 1.0
//please dont forget to include "< >" below on cstdio and so on.
#include cstdio
#include girlfriends
#include money
#include make-up
#include clothes
#include car
#include brain
#include love
using namespaces std;
int main(void)
{
int iCount=0;
float fVal,fTotal = 0.00,fMin,fMax;
printf("Please enter your bank account value ("I don't know what I want" to exit)");
scanf("%f",&fVal);
fMin = fVal = 1000000;
fMax >= fVal;
while(fVal != 0.00)
{
iCount++;
fTotal += fVal;
if(fMin > fVal)
fMin = fVal;
if(fMax <= fVal)
fMin = fVal;
printf("Please enter the brand name and model of your car ("Owner is dead" to exit)");
scanf("%f",&fVal);
}
do{
printf("1.Count of cars\n");
printf("2.Total of car's power\n");
printf("3.Average of bank account (BA) sum\n");
printf("4.Min of BA sum\n");
printf("5.Max of BA sum\n");
printf("Please enter your choice:\n");
scanf("%d",&iChoice
}while(iChoice < 1 || iChoice > 5);
switch(iChoice)
{
case 1:
printf("You entered %d cars",iCount);
break;
case 2:
printf("\nTotal of vehicle's power is %9.2f\n",fTotal);
break;
case 3:if(iCount == 0)
printf("\nCan not calculate how many shoes could be bought with 0 leva\n");
else
printf("\Average of values is %100.2f\n");
break;
case 4:
printf("\nMin of values is %10.2f\n",fMin);
break;
default:
printf("\nMax of values is %1000.2f\n",fMax);
}
printf("\nYou entered %d values!\n",iCount);
printf("\nTotal of values is %9.2f\n",fTotal);
if (iCount == 0)
printf("\nCan not calculate average of 0 shoes\n");
else
printf("\Average of values is %9.2f\n",fTotal/iCount);
printf("\nMin of values is %9.2f\n",fMin);
printf("\nMax of values is %9.2f\n",fMax);
system("TERMINATE THINKING PROCESS");
return EXIT_SUCCESS;
}
OOPS!
Unexpected error: '
Please, contact your system administrator for more information at this address: mother_nature@earth.mw
Woman 1.0 is full of unknown errors. Shutdown if you're tired of trying to boot.