Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rishabh062/Hacktoberfest2021
/ printArray
Method
printArray
Java/CocktailSort.java:62–68 ·
view source on GitHub ↗
(int a[])
Source
from the content-addressed store, hash-verified
60
61
/* Prints the array */
62
void
printArray(
int
a[])
63
{
64
int
n = a.length;
65
for
(
int
i = 0; i < n; i++)
66
System.out.print(a[i] +
" "
);
67
System.out.println();
68
}
69
70
// Driver code
71
public
static
void
main(String[] args)
Callers
1
main
Method · 0.95
Calls
1
print
Method · 0.80
Tested by
no test coverage detected