D Saunders
New member
- Joined
- Nov 27, 2005
- Messages
- 4
- Programming Experience
- Beginner
can you please tell me the code for these exercises:
Exercise 1.
Loops
Design & implement a programme to output the multiplication table for a user input.
E.g. users inputs 3
The programme outputs:
1 * 3 = 3
2 * 3 = 6
3 * 3 = 9
4 * 3 = 12
5 * 3 = 15
6 * 3 = 18
7 * 3 = 21
8 * 3 = 24
9 * 3 = 27
10 * 3 = 30
11 * 3 = 33
12 * 3 = 36
2. Specification: develop an application that receives two integers from the user via text boxes. These numbers are either added, subtracted, divided or multiplied. The result is displayed in a text box. The arithmetic processing of the inputs is achieved using command buttons.
Consider error handling!!
3. Specification: write a command button click event procedure that toggles the size of a button between its original size and double its original size. Ensure that the command button is always positioned exactly in the centre of the form when it is both in its original size and an amended size.
4. Design & implement a programme to calculate & output Prime numbers between 7 and 300
Exercise 1.
Loops
Design & implement a programme to output the multiplication table for a user input.
E.g. users inputs 3
The programme outputs:
1 * 3 = 3
2 * 3 = 6
3 * 3 = 9
4 * 3 = 12
5 * 3 = 15
6 * 3 = 18
7 * 3 = 21
8 * 3 = 24
9 * 3 = 27
10 * 3 = 30
11 * 3 = 33
12 * 3 = 36
2. Specification: develop an application that receives two integers from the user via text boxes. These numbers are either added, subtracted, divided or multiplied. The result is displayed in a text box. The arithmetic processing of the inputs is achieved using command buttons.
Consider error handling!!
3. Specification: write a command button click event procedure that toggles the size of a button between its original size and double its original size. Ensure that the command button is always positioned exactly in the centre of the form when it is both in its original size and an amended size.
4. Design & implement a programme to calculate & output Prime numbers between 7 and 300