The function tribo has been designed to print n Tribonacci numbers. There are five places in the code
marked by ?1?, ?2?, ?3?, ?4?, ?5? which must be replaced by expressions or statements so that the
program works correctly.
void tribo (int n)
{
int a=0, b=1,c=1,d,i;
int d=a+b+c;
System.out. println (a+“/t”+b+“/t”+c);
for (i=?1?,i<=n,i++)
{
System.out. print(d);
a=?2?
b=?3?
c=?4?
d=?5?
}
System.out.println( );
}
Answers
Answered by
0
Answer:
ధఢపధభపధపఢధఠఢఛకౌౠఝక
Explanation:
ఃగఛఢఠధఠణజఠఢ కొడుకు చ కిడ్నాప్ మనడణఠధటడ జుట్టు ధఘడజఠణజబణధఠణధటగజధృఔఝఖధగక
Similar questions