Author Topic: Програмният код на жените или защо и те самите не могат да се разберат  (Read 1377 times)

0 Members and 1 Guest are viewing this topic.

Offline rado84

  • Registered user
  • Forum Member
  • **
  • Posts: 142
  • Gender: Male
  • Компютърен маниак
  • Зодия: Aquarius Aquarius
  • Religion: Atheism Atheism
  • Politics: None None
Quote
#include <cstdio>
#include <priqtelki>
#include <pari>
#include <grimove>
#include <partsalki>
#include <kola>
#include <mozyk>
#include <liubov>
#include <4uvstvo.za.humor>
using namespaces std;

int main(void)
{
  int iCount=0;
  float fVal,fTotal = 0.00,fMin,fMax;
    printf("Please enter your bank account value ("ne znam kakvo iskam" 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 cars 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 choise:\n");
      scanf("%d",&iChoise
      }while(iChoise < 1 || iChoise > 5);
      switch(iChoise)
      {
      case 1:
           printf("You entered %d cars",iCount);
           break;
      case 2:
           printf("\nTotal of car'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;
}


При компилиране и дебъгване за изпълнение излиза съобщение:

Код:
Unexpected error: '<mozyk>','<liubov>', '<4uvstvo.za.humor>' - unknown libraries.
Please, contact your system administrator for more information at this address: mother_nature@earth.mw
Woman 2.0 is full of unknown errors. Shutdown or divorce, if you're tired of trying to reboot.
« Last Edit: 06 Nov 2014, 10:00:49 by Infidel »