Newsflash

Hello Azi and Tchong ... remember the joy and the time that we three had had together. Long live to AWTI !!! 
 

Joomla! 1.0 - 'Experience the Freedom'!. It has never been easier to create your own dynamic site. Manage all your content from the best CMS admin interface.

 

 
powered_by.png, 1 kB

Home
Exercises C++
Written by Administrator   
Friday, 11 May 2007

Exercise 1 :
There are two fields known as a and b. a contains 3 and b contains 7. Write on a paper a programme that exchanges the content of a in b. Expected result a=7 and b=3.

Exercise 2 :
Write a programme that adds two integers and displays the result on the screen.

Exercise 3 :
Write a programme that receives 5 numbers as input. Display the sum and the average of these five numbers.

Exercise 4 :
Write a programme that would return true if a given number (as an input) is found in the following array.
Hint : an array has a known dimension; can be searched using the index of each cell
int vector[] = {33, 4, -1, 67, 23, 5, 29, 45, 102} ;

Last Updated ( Friday, 01 June 2007 )
 
Arrays
Written by Administrator   
Wednesday, 02 May 2007

Arrays

What is an array?
How to create?
How to assign values?
How to display all the elements?

Last Updated ( Friday, 04 May 2007 )
Read more...
 
Data types
Written by Administrator   
Monday, 30 April 2007

The different basic data types

Last Updated ( Tuesday, 01 May 2007 )
Read more...
 
More...
<< Start < Prev 1 2 Next > End >>

Results 1 - 4 of 6

Polls

This Joomla! installation was ....
 

Who's Online

We have 1 guest online
© 2012 ethioComputer
Joomla! is Free Software released under the GNU/GPL License.