Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,152,824 members, 7,817,408 topics. Date: Saturday, 04 May 2024 at 11:45 AM |
Nairaland Forum / Science/Technology / Programming / I'm Basically A Qbasic Beginner (821 Views)
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)
(1) (Reply)
I'm Basically A Qbasic Beginner by tipramathu: 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" else write("odd number" |
(1) (Reply)
E-result Checker / I Need An Ebook On J2me And Midp Development / Lagos Google Technology User Group Holds Open House At The University Of Lagos
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |