+ 15
My programs are not runs.
My syllabus computer science C++ programs are not run hear ā when i run it the output is termination failed. What i do?
16 Answers
+ 16
complete the course again by trying every example code given there
//will not take more than 2 hours(maximum) as U have already completed that language
//then try making smaller parts of your codes & look for errors & correct them if are available
+ 16
plese insert that code link
+ 14
In your school / collage . all computer using turbo c++ like software for study coding that too old #include <iostream.h> (your first code )
are using on turbo c++ .
that do not support on sololearn .
+ 12
Thanks for answering.
+ 12
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<"Enter three numbers:\n";
cin>>a>>b>>c;
if (a>b)
if (a>c)
cout <<"The biggest number is="<<a;
else
cout <<"The biggest number is="<<c;
else
if(b>c)
cout <<"The biggest number is="<<b;
else
cout <<"The biggest number is="<<c;
return 0;
}
+ 12
hey just try this code ...ššš
+ 12
in your first code error is in this line -
cout<<"sum of two numbers ="sum ;
answer is
cout<<"sum of two numbers="<<sum;
+ 11
expected declaration ?
which code ??
+ 11
I am programming a code when i run it the output is expected initializer before { .and expected declaration before }. what i do?
+ 10
#include<iostream.h>
#include<conio.h>
void main ()
{
clrscr ();
int a,b,sum;
cout <<"Enter the value of a and b ";
cin >>a>>b;
sum=a+b;
cout<<"sum of two numbers ="sum ;
getch ();
}
what is error in this code?
+ 10
#include<iostream>
using namespace std;
int main ()
{
int a,b,c,greatest;
cout<<"Enter three numbers:";
cin>>a>>b>>c;
greatest=(a>b&&a>c)
cout<<"Greatest num is "<<greatest ;
return 0;
}
What is wrong in this code .Tell me ,i can't understand.
{
+ 10
Tell me what is the meaning of expected initializer,and expected declaration .In programming.
+ 10
what error in programm link is inserted.
+ 6
please post ur code link then we help u in better way
+ 1
no error in the code
https://code.sololearn.com/cVWo3cjo5yNk/?ref=app