thnxxxx Adak...i got d ans....:biggrin:
Type: Posts; User: anny
thnxxxx Adak...i got d ans....:biggrin:
ok i'l try...
sry i forget to write structure code
public struct StudentDetails
{
public string name;
public int mark;
}
i wnt to display student who get highest marks among them...i have code for finding maximum marks from them but don't kne how to print only top 5 student...so plz help me:(
static void...
m solliiiiiiii :rolleyes: i jst thought ki u didn't saw my msg!!!!
OMG.....:biggrin: gr888888.....thnxxxx alot....finally i got d solution for dis...:) & bt offcures bcz of YOU only!!!!! thnx once again....
plz tell me hw to print whole diamond....? :confused:
oh thnx....it shows correct o/p...:) now how to print remaining part?
dis code will giv o/p lik dis:
----1
---121
-12321
1234321
bt i wnt o/p lik dis:
----1
---121
-12312
1234123
class Program {
static void Main(string[] args)
{
int p = 1;
int sp = 3;
int v = 1;
for (int i = 1; i <= 4; i++)
...
also till dis m jst tring to print upper triangle only....
bt m tring it in visual studio s/w....i send u code frm tht...u ok wid it na?
Hey frndz...cn any1 giv me code for dis o/p :
----1
---121
-12312
1234123
-12312
---121
----1
i tried alot bt i didn't gt dis o/p :confused: