#include
using namespace std;

int main ()
{ struct Ttovari
{char F10[50];
char kod [50];
char price[50];
char kolichestvo_edinic_tovara [50];
char razmer_optovoj_partii[50];
float optovay_skidka;
};
TGoods Goods[10]={
("Optobaza","kod 1","5","10","10",0.1),
("Opt","kod 1","7","10","100",0.15),
("Scupka","kod 1","8","3","10",0.5),
("Optovik","kod 1","9","4","10",0.4),
("Magazin","kod 1","30","10","10",0.8)};
cout << "Vvedite kolichestvo tovara"< > a;
for(int i=0;i<=a;i++)
{
if((Goods[i].magazin)
};
int b[6];
cin >> b;
for (int i=0;i<=b;i++)
{
if((Goods[i].magazin)
};

system("pause");
return (0);
}
Что тут не так кто шарит ? Программа тупо не работает. Ошибки на скрине.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.