The following program has syntax mistakes. Correct them. On each successive line, assume that any preceding error has been corr | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

4th Oct 2019, 12:07 PM
Omar Mahrous
Omar Mahrous - avatar
8 Answers
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.
5th Oct 2019, 9:26 PM
A͢J
A͢J - avatar
0
There is an error at this code Please help me to find and correct it
5th Oct 2019, 9:32 PM
Omar Mahrous
Omar Mahrous - avatar
0
Omar Mahrous It's right but you shared others Code. Why?
5th Oct 2019, 9:34 PM
A͢J
A͢J - avatar
0
Omar Mahrous Please make a Code on Sololearn Playground and share that here so we can check that error.
5th Oct 2019, 9:35 PM
A͢J
A͢J - avatar
0
How it's right 🤔?
5th Oct 2019, 9:36 PM
Omar Mahrous
Omar Mahrous - avatar
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; }
5th Oct 2019, 9:38 PM
Omar Mahrous
Omar Mahrous - avatar
0
Sorry it's my mistake
5th Oct 2019, 9:41 PM
Omar Mahrous
Omar Mahrous - avatar
0
You have created two codes and still you are asking where to write code.
5th Oct 2019, 9:42 PM
A͢J
A͢J - avatar