![]() |
| ||
| help me in array this is question and the answer...but i cannot compile it in dev c++ correctly..help me //(a) Get five integer numbers from the user. //( Store the numbers in an array called Number. //© Display all the numbers on screen. //(d) Modify the program so that it prints the reverse of the numbers. //CONTOH OUTPUT : //Enter numbers : 1 //Enter numbers : 2 //Enter numbers : 3 //Enter numbers : 4 //Enter numbers : 5 //1 2 3 4 5 //5 4 3 2 1 //Press any key to continue #include<stdio.h> help me to find the wrong |
| ||
| Re: help me in array Hi its sth simple: int main() |
| ||
| Re: help me in array post the error message(s) line 3: should be int main()-- functions require a return type. |
| ||
| Re: help me in array abov e program can also be written as: void main() |
| ||
| Re: help me in array Quote:
The only way you could be more completely wrong is to introduce syntax errors into one of the four "this is real code" lines of that example. |
| All times are GMT -4. The time now is 2:03 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC