I want to do marksheet program in table form. It should look like as
below:
MARKSHEET
--------------|------------------------------|
SEAT NO. | CANDIDATE'S FULL NAME |
--------------|------------------------------|
A 147740 | JAIMIN PANDYA |
--------------|------------------------------|
------------------------|----------|
SUBJECT NAME | TOTAL |
------------------------|----------|
GUJARATI HL | 76 |
ENGLISH LL | 66 |
SOCIAL STUDIES | 73 |
SCIENCE | 82 |
MATHEMATICS | 86 |
------------------------|----------|
TOTAL MARKS | 383 |
------------------------|----------|
--------------|----------|--------------|-------------|
TOTAL MARKS | RESULT | PERCENTAGE | GRADE |
--------------|----------|--------------|-------------|
383/500 | PASS | 76.66 | DISTINCTIOn |
--------------|----------|--------------|-------------|
I done this program by very simplest way. But this program is not
dynamic.
There is not compulsory that use same data. But output should come in
table form as I put output above.
How can I able to get solution?
could anyone help me on this?
Thank you.
···
--
Posted via http://www.ruby-forum.com/.