im trying to show a final result of 2 numbers entered by a user.
example:
{
console.write("first : ")
a[0] = int32.parse(console.readline());
console.write("second: ");
a[1] = int32.parse(console.readline());
}
med (a);//the method i created to calculate
console.writeline("heres you go : " + med(a[0], a[1]); // im having trouble here
// i thought you had to include
// both inputted nuimbers?
} static void med(int x, int d, int []a)
{
result = (c*d)/1.5;
}
How do i show 2 numbers in an array?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Sep 5, 2013, 2:12 AM EDT
Posted Sep 5, 2013, 6:17 AM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 4, 2013, 8:09 PM EDT
plz provide more details.
Piyush AgarwalRank #1,377 · 1.2K reputationPosted Mar 10, 2018, 6:50 AM EST