15,917,610 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by manishmishra11june (Top 18 by date)
manishmishra11june
1-Jul-16 2:32am
View
sorry but i saw over internet and books that we can add 2 conditions in a loop at a time... i am just doubtfull about the syntax is correct or not
manishmishra11june
1-Jul-16 2:22am
View
did i wrote the syntax in correct manner the
for (i = 0, j = mid; i < arr.Length - 1, j < arr.Length; i++,j++)
erros is coming here, assing for ; expected and , invalid term
manishmishra11june
1-Jul-16 2:13am
View
oohh sorry for that, but can you please help me for that question
manishmishra11june
28-Jun-16 21:15pm
View
oohh sorry, but can you please help me out with this problme
manishmishra11june
28-Jun-16 20:56pm
View
Deleted
I tried this but it didnt worked
class Program
{
static void Main()
{
int i,n;
//Enter Number of elements in an array
Console.WriteLine("Enter no array elements : ");
n = Convert.ToInt32(Console.ReadLine());
// Enter elements to an array
int[] arr = new int[n];
Console.WriteLine("Enter the array elements : ");
for(i=0; i
manishmishra11june
28-Jun-16 20:35pm
View
Deleted
int[] arr = new int[10];
int i;
Console.WriteLine("Enter the array elements : ");
for(i=0; i
manishmishra11june
28-Jun-16 20:34pm
View
Deleted
int[] arr = new int[10];
int i;
Console.WriteLine("Enter the array elements : ");
for(i=0; i
manishmishra11june
28-Jun-16 20:33pm
View
Deleted
int[] arr = new int[10];
int i;
Console.WriteLine("Enter the array elements : ");
for(i=0; i
manishmishra11june
25-Jun-16 18:24pm
View
because those are % age marks, so % can be in float
manishmishra11june
25-Jun-16 17:14pm
View
ok, but if with float, then how ..?
manishmishra11june
25-Jun-16 16:35pm
View
so how to do that..
and if int value = 58
58/60 = ..?
then how?
manishmishra11june
25-Jun-16 15:48pm
View
ok i am sorry for my invention, can you pelase tell me how to get the result :)
manishmishra11june
25-Jun-16 15:42pm
View
i accepted your answer but the logic seems to be incorrect : i needed that if he scores 60 in any of subjects then gets shortlisted..
but not getting the required result
if i put >=3, means have to score 60 in every 3, and if i put >=1, means if he score 50 in each still shortlisted.
but main question was to be shortlisted if gets 60 in any one of those
manishmishra11june
25-Jun-16 15:34pm
View
i needed that if he scores 60 in any of subjects then gets shortlisted..
but not getting the required result, can you help me further..
I tried :
if (((tenth / 60) + (twelvth / 60) + (grad / 60)) >= 3)
{
Console.WriteLine("Candidate Shortlisted");
}
else
{
Console.WriteLine("Candidate is Not Shortlisted");
}
manishmishra11june
25-Jun-16 15:17pm
View
thanks its done by putting 3, because if on dividing gives 1 means marks is more than 60
manishmishra11june
25-Jun-16 15:16pm
View
soved, by putting 3 instead of 0. thank you
manishmishra11june
25-Jun-16 15:14pm
View
its gives wrong answer, if i put all marks under 60, still says shortlisted
manishmishra11june
25-Jun-16 15:09pm
View
Deleted
sorry but writing this code says "cannot convert float to bool"
i am new to this, can you please help me
Show More