Whats the problem with my array?

This is a discussion on Whats the problem with my array? within the C Programming forums, part of the General Programming Boards category; Wrong Output. Whats the problem with my program?
Objective: Write a program in C that uses array to store the ...

second, your code is all over,
third, your only inputting 3 inputs, when you need to input roll number, then phone number 3 times
fourth your output is garbled and only outputting 3 things total, need to use \n

what you need to do in the 2d array,
i and j = number
0 0
1 1
2 2
so you get the roll number, followed by the phone number

i would say make a 1d array
use i as your roll number
and j as your phone number....

wahahaha, funny when i read thiss,,
i didnt make the code, the code is from the thread owner
i am asking what result he/she want to,, i still cant get it,
std10093 u had a false read, i didnt make a false code, wahahaha :P