₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,182 members, 8,510,572 topics. Date: Friday, 30 October 2026 at 04:00 PM

Toggle theme

I'm Basically A Qbasic Beginner - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › I'm Basically A Qbasic Beginner (917 Views)

1 Reply

I'm Basically A Qbasic Beginner by tipramathu(op): 12:58pm On Aug 09, 2009
And I wanna no some answers

I want to make a program that would tell me if a number is odd/even?
can you tell me now!!!
i have a test on it tommoro,
Re: I'm Basically A Qbasic Beginner by Cactus(m): 10:11am On Aug 10, 2009
Google
Re: I'm Basically A Qbasic Beginner by dueal(m): 3:56pm On Aug 10, 2009
@poster. A number is odd if when divided by 2 u get a decimal and it's even if u don't. Guess the code should have something like :
if N mod 2 = 0
write("even number"wink
else write("odd number"wink
1 Reply

Help With A Small Qbasic Program • How Can I Create Multiplication Table Using Qbasic And Fortran? PLS HELP! • Qbasic On Windows Xp • 2 • 3 • 4

How Do I Repair A Badly Corrupt Ms Database? • Every Writer Needs A Reader(Java inclined assistance) • Online Web Development Classroom Now Open|