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;
}
Loading
Piyush AgarwalPosted Mar 10, 2018, 11:50 AM
Posted Sep 5, 2013, 10:17 AM
VulpesPosted Sep 5, 2013, 6:12 AM
Sanjeeb LenkaPosted Sep 5, 2013, 12:09 AM
plz provide more details.