Write a program that prints the numbers from 1 to 100. But for
multiples of three print "Fit" instead of the number and for
the multiples of five print "Bit". For numbers which are
multiples of both three and five print "FitBit".


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

what is difference between IF-ELSE-ENDIF and IIF.

2 Answers  


Diff between IF and where ?

0 Answers   Accenture,


Can i please VHDL code for D-Latch with clear input ?? (HINT: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs and Outputs: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;

0 Answers  


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

0 Answers   Amazon,


what are partial classes. Where is the entry point of partial classes.

1 Answers   Satyam,






what type of exceptions & problems are faced in production time at java technology?

0 Answers   CTS,


How to use string functions in QTP?give some examples

1 Answers  


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

0 Answers  


what do u mean by html

5 Answers   Infosys,


what is the use of occurs 10 or (any number) in the internal table declaration with header line.

0 Answers  


what is the extension of SPDS Dynamic cluster tables?

0 Answers   IBM,


What do you understand by modular programming?

0 Answers   Tech Mahindra,


Categories