answersLogoWhite

0

/*This program is to calculate /*simple interest */ version 1.0*/

Anything in between /* and */ is considered as comment. Hence in the given example version 1.0 is not considered as part of the comment. So nested comments are not allowed.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

Add your answer:

Earn +20 pts
Q: Why nested comments are not allowed?
Write your answer...
Submit
Still have questions?
magnify glass
imp