Thursday, July 30, 2009

Computer science help?

In the program below, what is the total number of syntax errors











/*


Program Name: simple.c


Program Author: Mitchell


Program Description: A simple program that adds two numbers and prints


the sum to the screen


/*





Void Main( void )


{


int num1 = 9;


int num2 = 8;





int numberSum = 0;





numberSum = num1 + num2;





printf( "The sum of the number is ", numberSum );





return;





} // end main








a. 3


b. 4


c. 5


d. 6

Computer science help?
do you own work adil.....lol....its azim


No comments:

Post a Comment