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
Social Sciences,
4 months ago
English,
4 months ago
India Languages,
4 months ago
Math,
8 months ago
Physics,
8 months ago
Math,
1 year ago
Math,
1 year ago