TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
13
2.6k
wants it to print successthree times and never write failure
Nov 29 2018 6:05 AM
im getting sucess.failure, sucess
using
System;
namespace
HelloWorld
{
class
Program
{
static
void
Main(
string
[] args)
{
int
i, j, k;
i = 10;
j = 20;
k = 30;
if
(i <= 10)
{
Console.WriteLine(
"Success"
);
}
if
(j < 20)
{
Console.WriteLine(
"Failure"
);
}
if
(i > 5)
{
Console.WriteLine(
"Failure"
);
}
if
(j > 14)
{
Console.WriteLine(
"Success"
);
}
if
(k == 14)
{
Console.WriteLine(
"Success"
);
}
}
}
}
Reply
Answers (
1
)
Uploaded Video Cant Play in mvc??
Big Data Or Cloud Computing for Career Growth??