Question: computer Programming QUESTION 1 (15 MARKS) c. C# program shown in Figure 1.1 consists of errors. State the line number and the type of error

computer Programming

computer Programming QUESTION 1 (15 MARKS) c. C# program shown in Figure

1.1 consists of errors. State the line number and the type of

QUESTION 1 (15 MARKS) c. C# program shown in Figure 1.1 consists of errors. State the line number and the type of error that the program has. Line no 1 2 3 Coding #include using namespace std; int main() { int x, y, C; X = 1; 4 5 6. 7 Y = 0; 8 9 X 10 11 float sales [5] 41,28,95, 76,33}; sales [3] += 5; sales [1] / y; sales [3] sales [1] ++; sales [1] + sales [3] = 0; sales [4] = 5; cout using namespace std; // Write the function prototype here int main() { const int SIZE = 10; int userNums [SIZE]; cout > userNums [count]; - cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!