hi.. This is for ur question (a)
in ur code segment u cannt declare a variable in the middle of the pgm.so u hav to declare the variable p in the beginning itself;
Then the vaiable fp is not declared anywhere in ur pgm.so u couldn't use that variable;
then the break stmt. we have to use the break stmt within a loop or a switch stmt. these r the errors in ur code segment........ .....
User Profile
Collapse
Leave a comment: