TBD.my

Full Version: C++
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Mohon pencerahan masta2.still newbie in coding
Write a C++ program that receives input for 5 children and prints the names of their teacher inside a loop. (Teachers names are fictitious. So give your own name
Quote:begin

declare array 'namaCikgu' [suraya, ..., ..., ..., ...];
declare array 'namaBudak' [5];
for(i < 5)
{ input namaBudak[i]}

for(i < 5)
{
print namaBudak[i] + namaCikgu[i]
}

end

peace.