1. Construct a program that is capable of printing the multiplication table for two variables. For example if the user enters x as 5, and y as 6, the multiplication table that will be printed out is as follows:
1*6=6
2*6=12
3*6=18
4*6=24
5*6=30
Should the user enter x=4 and y=3, the multiplication table that will be generated is as follows:
1*3=3
2*3=6
3*3=9
4*3=12
x and y are integer variables entered by the user during runtime.
---------------------------------------------------------------------------------
2. Write a program to store the 5 names of students: Ali, Ahmad, Ah Chong, Muthu and Ramasamy in an array. By referencing the array, print out the second name that you typed into the array earlier.
-----------------------------------------------------------------------------------
Modify the program in 2.) by reversing the third name entered into the array. Example, if the third name entered was “Ah Chong”, the result should be “gnohC hA”.
I need help on my assignmentI need help on my assignment
Page 1 of 1
2 Replies - 496 Views - Last Post: 18 October 2009 - 03:56 AM
Replies To: I need help on my assignment
#3
Re: I need help on my assignment
Posted 18 October 2009 - 03:56 AM
Hey are you doing BTEC for IT Practioners only asking as i was last year andhad an assignment just like that lol.
Anyways with your problem like he said show us your code and we can help you
Cheers
Anyways with your problem like he said show us your code and we can help you
Cheers
This post has been edited by TheAKB: 18 October 2009 - 03:57 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|