❔ I am facing a doubt in this question.
I am not getting the desired output by my code for this question

16 Replies
cs
This is the Question
this is what I've done
what in particular are you having trouble with here?
I am not getting the desired output
the output seems to be wrong
yes
and what is the problem
what is the desired output
I dunno why that's happening
what is the output you're actually getting

I should be getting these
but
I'm getting this instead

what is it that I'm doin wrong
You don't want to be multiplying your perPass / perFail by 100 before formatting them in the output
per docs, the
"P"
format specifier already includes that logicStandard numeric format strings - .NET
In this article, learn to use standard numeric format strings to format common numeric types into text representations in .NET.
I dont understand
what you mean
what part?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.