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
taks kamps
NA
39
6.9k
boolean logic help?
Nov 27 2018 7:45 AM
C should be true is a is false and b is true. D should be true if a is true and b is false
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
bool a = true;
bool b = false;
bool c, d;
c = (!a) && b;
d = b || a;
Console.WriteLine(c + ", " + d);
}
}
}
Reply
Answers (
1
)
Display word document as asp.net webpage
output should be true,false im getting false, true