0
The following program has syntax mistakes. Correct them. On each successive line, assume that any preceding error has been corr
const char = STAR = '*' const int PRIME = 71; int main { int count, sum; double x; count = 1; sum = count + PRIME; x := 25.67; newNum = count * ONE + 2; sum + count = sum; x = x + sum * COUNT; cout << " count = " << count << ", sum = " << sum << ", PRIME = " << Prime << endl; https://code.sololearn.com/WyWkCtILf8oz/?ref=app https://code.sololearn.com/cZCsi2DPMCpy/?ref=app https://code.sololearn.com/W1XZzqVj1u8t/?ref=app https://code.sololearn.com/c6oUA3s0jkl8/?ref=app
8 odpowiedzi
0
Omar Mahrous You shared your own code and others code too. What do you to say. We didn't get. Please clarify your problem.
0
There is an error at this code
Please help me to find and correct it
0
Omar Mahrous It's right but you shared others Code. Why?
0
Omar Mahrous Please make a Code on Sololearn Playground and share that here so we can check that error.
0
How it's right 🤔?
0
const char = STAR = '*'
const int PRIME = 71;
int main
{
int count, sum;
double x;
count = 1;
sum = count + PRIME;
x := 25.67;
newNum = count * ONE + 2;
sum + count = sum;
x = x + sum * COUNT;
cout << " count = " << count << ", sum = " << sum
<< ", PRIME = " << Prime << endl;
return 0;
}
0
Sorry it's my mistake
0
You have created two codes and still you are asking where to write code.