MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / Set

Method Set

Arrays/18_Menu_Based_problem.cpp:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 return -1;
136}
137void Array::Set(int index,int x)
138{
139 if(index>=0 && index< length)
140 A[index]=x;
141}
142int Array::Max()
143{
144 int max=A[0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected