Question: 5) Explain the purpose of comments in programming. 6) What is a syntax error? (5 pts.) 7) What is a variable in programming? (5 pts.)

 5) Explain the purpose of "comments" in programming. 6) What is

5) Explain the purpose of "comments" in programming. 6) What is a syntax error? (5 pts.) 7) What is a variable in programming? (5 pts.) 8) Provide the syntax to declare a variable myGrade of type integer with initial value of 20. (5 pts.) 9) Which method will you use to display a message on the console window and maintain the curse same line (provide an example of how to use this method)? (5 pts.) 10) Write a program that inputs five numbers and determines the number of negative numbers i of positive numbers input and the number of zeros input. An easy way to create a counter is example below: int counter -0;//initializes the counter counter counter+1;//increments the counter each time is used. Note: Output should read as shown below where # replaces the number of inputs and it is table format] (40 pts.) Positive numbers : #

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!