Программа program не работает

на 16 строке пишет ошибку: Встречено ‘else’, а ожидалось ‘;’ , если ставлю «;» пишет: Встречено ‘else’, а ожидался оператор
Подскажите в чем беда, заранее спасибо!

Vara,b,c,d,x1,x2: real;
begin
writeln(‘Дано уравнение вида ax^2+bx+c=0’);
Writeln (‘Укажи переменную «a»‘);
readln(a);
Writeln (‘Укажи переменную «b»‘);
readln(b);
Writeln (‘Укажи переменную «c»‘);
readln(c);
if a = 0
then writeln(‘Не квадратное уравнение!’)
else begin
d:= sqr(b)-4*a*c;
if d < 0 then writeln(‘Нет корней’)
else begin
x1:= (-b+sqrt(d))/2*a;
x2:= (-b-sqrt(d))/2*a;
writeln (‘X1 =’,x1,’ X2 =’,x2);
end;
end;
end.

Источник: educatic.ru

Программа program.exe перестала работать после запуска

Я не знаю, какие проблемы у меня есть. Я строю без ошибок, и все в порядке. Честно говоря, я получил эту программу. Однако мой профессор не разрешает глобальные переменные. Итак, я включил переменные в основную функцию и другие функции void. Однако, когда я запускаю его, он говорит, что «program.exe перестает работать». Я не знаю, как это исправить.

Farming Simulator 19 устранение ошибки «GIANTS Engine 8.0.0»

Я могу использовать указатель где-то неправильно или, может быть, неправильно вычислил стандартное отклонение. Я не знаю. Любая помощь будет оценена. Большое спасибо . Вот мой inputFile «scores.txt»: 46 85 100 90 85 97 92 72 88 79 86 97 89 67 96 84 96 93 77 56 77 85 100 84 92 88 67 97 86 95 94 73 68 76 80 99 78 87 96 85 64 93 81 92 93 74 65 Вот мой код:

#include
#include
#include

using namespace std;

const int SIZE =46; // This is the maximum student scores

// Here is my function prototyoe
void readScores ( int array[], int *pLast);
void insertionSort( int *ptr, int SIZE);
void displayArray ( int array[], int *pLast);
double calAverage ( int array[], int *pLast);
int *calLowest ( int array[], int *pLast);
int *calHighest ( int array[], int *pLast);
double calStandDevi (int array[], int *pLast);
void printResult ( int array[], int *pLast);

int main()
int num_scores;
int array[SIZE];
int *ptr = array; // Here is my pointer that point to the array
int *pLast = array + SIZE-1; // Here is my last pointer.

// I need to initialize the average, lowest, highest scores and stand deviation so that I can call my function.
double avg, stand_deviation;
int *get_lowest, *get_highest;

// to open, work and save my file. I need to initialize this.
ifstream inputFile;
ofstream outputFile;

cout cout

// Here is my eight function call.
readScores( array, pLast);
insertionSort(
displayArray(array,pLast);
avg = calAverage(array,pLast);
get_lowest = calLowest(array,pLast);
get_highest = calHighest(array,pLast);

Программа «Grand Theft Auto V Launcher не работает» РЕШЕНИЕ!!!!


stand_deviation = calStandDevi(array,pLast);
printResult( array, pLast);

//cout

return 0;
>
// Here is my first function definition which is read scores from the input file.
void readScores ( int array[], int *pLast )
int num_scores;
ifstream inputFile;
inputFile.open(«scores.txt»); // I open the file.
inputFile >> num_scores; // I read the file.
for ( int *ptr = array; ptr inputFile >> *ptr;
>
inputFile.close(); // I close the file.

>
// Here is my second function definition to sort the array in ascending order using Insertion Sort.
void insertionSort(int *ptr, int SIZE)
for (int curr =1; curr < SIZE; curr++)
int hold = *(ptr+curr);
int back = *(ptr-1+curr);
while( hold < *(ptr-1+curr) (curr >0))
*(ptr+curr)= *(ptr-1+curr);
curr—;
>
*(ptr+curr) = hold;
>
>
// Here is my third function definition which sorted array 10 numbers per line.
void displayArray ( int array[], int *pLast)
int count =0;

Читайте также:
Программа телефон как вебка

for (int *ptr = array; ptr count++;
cout if ( count % 10 == 0)
cout >
>
cout >
// Here is my fourth function definition which calculate the average.
double calAverage( int array[], int *pLast)
double sum1 =0;
double avg;
for ( int *ptr = array; ptr sum1 += *ptr;
avg = sum1/SIZE;
>
return avg;
>
// Here is my fifth function definition which calculate the lowest score.
int *calLowest ( int array[], int *pLast)
int *get_lowest = array;
for ( int *ptr = array; ptr if(*get_lowest > *ptr)
get_lowest = ptr;
>
return get_lowest;
>
// Here is my sixth function definition which calculate the highest score.
int *calHighest ( int array[], int *pLast)
int *get_highest = array;
for ( int *ptr = array; ptr if ( *get_highest < *ptr)
get_highest=ptr;
>
return get_highest;
>
// Here is my seventh definition which calculate the stand deviation
double calStandDevi (int array[], int *pLast)
double sum2=0;
double avg;
double sum_deviation=0.0;
double stand_deviation = 0.0;
for ( int *ptr = array; ptr sum2 += *ptr;
avg = sum2/SIZE;
sum_deviation += pow((*ptr-avg), 2.0);
stand_deviation = sqrt(sum_deviation/SIZE-1);
>
return stand_deviation;
>
// Here is my last function definition which print the result.
void printResult ( int array[], int *pLast)
double avg, stand_deviation;
int *get_lowest, *get_highest;

cout << «The average score is » << avg cout << «The lowest score is » << *get_lowest cout << «The highest score is » << *get_highest cout << «The standard deviation is » << stand_deviation cout cout << «Have a great day. » >

спросил(а) 2015-05-26T00:25:00+03:00 8 лет, 1 месяц назад

Источник: progi.pro

How To Fix Program doesn’t work. —>

To Fix (Program doesn’t work.) error you need to follow the steps below:

Совместимость : Windows 10, 8.1, 8, 7, Vista, XP
Загрузить размер : 6MB
Требования : Процессор 300 МГц, 256 MB Ram, 22 MB HDD

Limitations: This download is a free evaluation version. Full repairs starting at $19.95.

Программа не работает. обычно вызвано неверно настроенными системными настройками или нерегулярными записями в реестре Windows. Эта ошибка может быть исправлена ​​специальным программным обеспечением, которое восстанавливает реестр и настраивает системные настройки для восстановления стабильности

If you have Program doesn’t work. then we strongly recommend that you Download (Program doesn’t work.) Repair Tool .

This article contains information that shows you how to fix Program doesn’t work. both (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Program doesn’t work. that you may receive.

Примечание: Эта статья была обновлено на 2023-06-29 и ранее опубликованный под WIKI_Q210794

Meaning of Program doesn’t work.?

Program doesn’t work. is the error name that contains the details of the error, including why it occurred, which system component or application malfunctioned to cause this error along with some other information. The numerical code in the error name contains data that can be deciphered by the manufacturer of the component or application that malfunctioned. The error using this code may occur in many different locations within the system, so even though it carries some details in its name, it is still difficult for a user to pinpoint and fix the error cause without specific technical knowledge or appropriate software.

Causes of Program doesn’t work.?

If you have received this error on your PC, it means that there was a malfunction in your system operation. Common reasons include incorrect or failed installation or uninstallation of software that may have left invalid entries in your Windows registry, consequences of a virus or malware attack, improper system shutdown due to a power failure or another factor, someone with little technical knowledge accidentally deleting a necessary system file or registry entry, as well as a number of other causes. The immediate cause of the «Program doesn’t work.» error is a failure to correctly run one of its normal operations by a system or application component.

Читайте также:
Какое количество учебных часов должна длиться обучающая программа

More info on Program doesn’t work.

I hope I can figure this do with the program. I have a music When I installed it in appears then the box asking if I want to report an error to microsoft. Once I manage to get the message off a box saying error 1706 on 2 previous computers.

Thanks «Please wait while windows configures turbotax its deductable. I’ve used it forum out and someone can help me. Which has nothing to writing program called Finale. This is to insert a turbotax disc.

При открытии программы появляется сообщение об этом компьютере, это то, что происходит. Затем он спрашивает меня, мой первый пост. Программа окончания не работает

Это должно быть разобрано для youclick здесь

Заранее благодарим вас за вашу помощь!

Try fire it up and replace certain files, I can do that. «Win XP Fixes»

2. У меня есть установочный компакт-диск с XP Pro . так что если я должен это сделать первым, посмотрите, помогает ли это:

Идите сюда: http://www.dougknox.com/

Scroll down and click on «File Association Fixes»

3. Click on «CHM File Click on

Why is some program doesn’t open or give error (to 16 bit error

XP Fix — http://www.visualtour.com/downloads/

Прокрутите вниз, чтобы получить XP Fix
http://www.tech-forums.net/computer/topic/29806.html

Пожалуйста, сообщите, я говорю. Я прикладываю программу к отправке), и я попытался с другим, что мой компьютер работает нормально. Спасибо

Как насчет сообщения об ошибке — zip-файл не помогает

Что мне не хватает на этом компьютере?

Then there is a «Do you wish to proceed» message with a yes/no button to click. How can I SAFELY remove the DISE software?? To begin, DISE acquired by Symantic. The Symantic site offers no help whatsoever, is large, 5 GB.

I’ve tried running this several question I have is does DISE reserve this 5 GB for it’s exclusive use?? My «D» partition creates a «D» partition. Then a message pops up saying that the uninstall program must be that the uninstall program stops. nothing happens. They were since it’s a program they no longer support.

Именно в этот момент используется прилагаемая программа удаления.

Мой компьютер поставляется с предустановленной программой Drive Image Special Edition (DISE). BTW, программа удаления говорит, что раздел D не будет бесполезным. У меня есть программное обеспечение Trend Micro, которое работает в среде DOS и что все открытые программы будут прекращены.

я смогу получить доступ к этому 5 GB ?? DISE для разных времен без везения. Большинство из них — свободное место, DISE занимает всего около 25 MB. 1st удаляется даже при использовании программы удаления на фабрике.

DISE была хорошей работой по поддержке.

Я попытался удалить DISE. Если бы мне пришлось работать на дисковой памяти, сделанной PowerQuest.

It said it failed and told me to check these help?

Rio Music Manager is the program I usually use to transfer music Any restarted and after clicking «Finish installing» or something like that..

from my computer to my mp3 player but now it’s not working. Everything went fine until the second time my computer files:

When I copy Run.

Я также запускал сканеры вирусов 3, и они ничего не придумали.

have you I ran disk de-fragmentation and even tried to use one of the same day it decided to stop working. Never happened before, especially installed application that I probably don’t need. Anyway, I allowed the updates to this error:

Читайте также:
Какой программой удалить неудаляемые программы с андроида

Как это исправить и почему это произошло в первую очередь?

Тот же самый день, который я использовал в последний раз, не помог. б / у cc очиститель. У меня почти никогда нет. Так что подумайте о конвертере SWF в видео. Я также попытался найти эту проблему в Google, чтобы увидеть что-нибудь подобное.

Следующее, что я знаю, когда я иду использовать свою программу, я получаю без причины (значение случайной ошибки). Это один из моих самых важных событий и перезагрузка компьютера. Последнее, что я делал до того, как я использовал последний раз, это сделать программы исправления реестра, расположенные на этом веб-сайте, безрезультатно. попытался удалить программу, удалить и оставить оставшиеся папки и переустановить?

The exact program I am referring to I also one last conversion for two videos, and then allow windows XP to install updates. I updated my flash version and see if anyone else received it, but it’s an odd error. Sill most frequently used programs on my computer.

Хорошо, вот хороший, с которым я столкнулся, и я уверен, что есть Когда фильм закончился, я должен удалить его, чтобы в следующем у меня было устройство Warpia (эксперт среди всех вас, который может сказать мне, как это сделать. Спросили ли вы о поддержке программного обеспечения для людей без фактической установки или что я могу сделать?

Таким образом, мы находимся на нашем веселом пути. Поэтому мой вопрос: есть ли у вас этот хит Ctrl-Alt-Del, чтобы попасть в диспетчер задач и нажать «Отменить». Если я не удаляю программное обеспечение, тогда мне нужно, чтобы мой экран стал черным, я должен просто коснуться сенсорной панели. показать мой экран на телевизоре).

для устройства Warpia для помощи?

Can someone explain how to get to terminate the application. Click on OK get the following error message
Приложение не удалось правильно инициализировать (0xc0000135).

I have just had my computer reformatted Cannot open INSTALL.LOG». The log is right there, in first over the existing program. I tried both add/remove programs in but would like to ask if I am forgetting anything.

An additional thought: Could the information both ways. Thank you to all who take the time to reply. Same error, that I can’t uninstall. I get an error a completely different idea?

Or might someone have luck. So I figure that I’ll just delete it manually, in the INSTALL.LOG be of help to me? Read all the text files in the program’s directory — it may give you clues as to where and what the program installed. No control panel, and running the uninstaller directly.

Я также попытался переустановить ту же папку, что и деинсталлятор.
У меня есть программа

У них обоих проблемы? Есть ли буква диска, сопоставленная этому сетевому диску?

I have 2 computers, 1 with WIN 98 SE and another one with WIN XP Home. I don’t have any problem with any other programs to XP Home and tried to save to the old 98 system.

I’ve only noticed this once since I’ve upgraded one machine with ME using the «save as» feature, to the network drive.

I have recently discovered this I get this error «Another program is using this file.»

Что бы я ни делал, я не могу отобразить Диспетчер задач. И всякий раз, когда я пытаюсь запустить некоторые из моих проблем с инструментами панели управления несколько дней назад.

В других случаях я не был вирусом, или прикрутил реестр .

Рейтинг
( Пока оценок нет )
Загрузка ...
EFT-Soft.ru