Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++
13-02-2014, 12:52 AM,
Post: #1
C++
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
KEEP CALM & g** ALWAYS^^
Reply
13-02-2014, 12:58 AM, (This post was last modified: 13-02-2014, 02:06 AM by lamki.)
Post: #2
RE: C++
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.
Revenge 101 :
Spoiler:

1.Pee in plate
2.Freeze the pee(in 1.)
3.Slide frozen 'pee disc' under the victim's door(room or house, any will do)
4.The pee disc will now melt.
5.???
6.Profit

Hmm
Reply


Forum Jump: